diff options
author | drh <drh@noemail.net> | 2014-09-18 01:21:43 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-09-18 01:21:43 +0000 |
commit | 3329a63ac5ca50861d926248b159106cd9fd96a5 (patch) | |
tree | f5554b8bf0c7821fb3055e76d6f3a54c5af2832e /src/table.c | |
parent | ca5506bdc482bbfde2fe3dd6a93f079e9801ce60 (diff) | |
download | sqlite-3329a63ac5ca50861d926248b159106cd9fd96a5.tar.gz sqlite-3329a63ac5ca50861d926248b159106cd9fd96a5.zip |
Fix compiler warnings and change the nullMem structure initializer into a
format that MSVC can understand.
FossilOrigin-Name: 163bfae8583b2d3002a3a43d6bf8a66fefd73acb
Diffstat (limited to 'src/table.c')
-rw-r--r-- | src/table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table.c b/src/table.c index 12d0cf548..c435b2bc0 100644 --- a/src/table.c +++ b/src/table.c @@ -73,7 +73,7 @@ static int sqlite3_get_table_cb(void *pArg, int nCol, char **argv, char **colv){ if( z==0 ) goto malloc_failed; p->azResult[p->nData++] = z; } - }else if( p->nColumn!=nCol ){ + }else if( (int)p->nColumn!=nCol ){ sqlite3_free(p->zErrMsg); p->zErrMsg = sqlite3_mprintf( "sqlite3_get_table() called with two or more incompatible queries" |