diff options
author | drh <drh@noemail.net> | 2018-01-03 23:54:18 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-01-03 23:54:18 +0000 |
commit | e616735cb190447097b83af23734dafd9fcda548 (patch) | |
tree | 9e939df2d3f5b8f680b900289d59aedc6c6af923 /src | |
parent | a5bb43518b406098d4545c98fcffc80724c9f1fc (diff) | |
download | sqlite-e616735cb190447097b83af23734dafd9fcda548.tar.gz sqlite-e616735cb190447097b83af23734dafd9fcda548.zip |
Fix compiler warnings on Windows.
FossilOrigin-Name: 512b8e40c4ce2066d230b5f007bd704dc3577e21c55131ef07d90bf2fcf91b40
Diffstat (limited to 'src')
-rw-r--r-- | src/shell.c.in | 2 | ||||
-rw-r--r-- | src/sqliteInt.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/shell.c.in b/src/shell.c.in index 4c9e60769..1421ab419 100644 --- a/src/shell.c.in +++ b/src/shell.c.in @@ -4272,7 +4272,7 @@ static int expertDotCommand( char *z = azArg[i]; int n; if( z[0]=='-' && z[1]=='-' ) z++; - n = strlen(z); + n = strlen30(z); if( n>=2 && 0==strncmp(z, "-verbose", n) ){ pState->expert.bVerbose = 1; } diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 35074ee81..757cfcb99 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1365,9 +1365,9 @@ struct sqlite3 { int newTnum; /* Rootpage of table being initialized */ u8 iDb; /* Which db file is being initialized */ u8 busy; /* TRUE if currently initializing */ - u8 orphanTrigger : 1; /* Last statement is orphaned TEMP trigger */ - u8 imposterTable : 1; /* Building an imposter table */ - u8 reopenMemdb : 1; /* ATTACH is really a reopen using MemDB */ + unsigned orphanTrigger : 1; /* Last statement is orphaned TEMP trigger */ + unsigned imposterTable : 1; /* Building an imposter table */ + unsigned reopenMemdb : 1; /* ATTACH is really a reopen using MemDB */ } init; int nVdbeActive; /* Number of VDBEs currently running */ int nVdbeRead; /* Number of active VDBEs that read or write */ |