mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-05 04:30:38 +03:00
Suppress many harmless compiler warnings, mostly signed/unsigned comparisons
within asserts or unused parameters in extensions. FossilOrigin-Name: 3eeb0ff78d04891b5fd1a3d99a9fb8cfbed77a81
This commit is contained in:
@@ -2200,7 +2200,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]);
|
||||
for(i=0; i<sizeof(aCtrl)/sizeof(aCtrl[0]); i++){
|
||||
for(i=0; i<(int)(sizeof(aCtrl)/sizeof(aCtrl[0])); i++){
|
||||
if( strncmp(azArg[1], aCtrl[i].zCtrlName, n)==0 ){
|
||||
if( testctrl<0 ){
|
||||
testctrl = aCtrl[i].ctrlCode;
|
||||
|
||||
Reference in New Issue
Block a user