1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-05 04:30:38 +03:00

Fix a couple of MSVC compiler warnings;

FossilOrigin-Name: 748c9109c973e1d3e914adbe533f12af7783bfe4
This commit is contained in:
shaneh
2011-04-07 03:41:01 +00:00
parent 18e2d06b5c
commit cef8368093
4 changed files with 10 additions and 10 deletions

View File

@@ -2199,7 +2199,7 @@ static int do_meta_command(char *zLine, struct callback_data *p){
/* convert testctrl text option to value. allow any unique prefix
** of the option name, or a numerical value. */
n = strlen(azArg[1]);
n = strlen30(azArg[1]);
for(i=0; i<(int)(sizeof(aCtrl)/sizeof(aCtrl[0])); i++){
if( strncmp(azArg[1], aCtrl[i].zCtrlName, n)==0 ){
if( testctrl<0 ){