diff options
author | drh <drh@noemail.net> | 2012-04-19 18:04:28 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2012-04-19 18:04:28 +0000 |
commit | 83cc139231e651c3aba29f3b6620e26e7bae45c3 (patch) | |
tree | 72cd49a919eafd795c32e81e75b8d42742a99ff4 /src/test8.c | |
parent | 7ed243b71abf1f989e9c6ba2904b6f84a8cecaa7 (diff) | |
download | sqlite-83cc139231e651c3aba29f3b6620e26e7bae45c3.tar.gz sqlite-83cc139231e651c3aba29f3b6620e26e7bae45c3.zip |
Fix harmless compiler warnings on x64 MSVC, mostly in test code, but also in
tclsqlite.c and in the FTS4 module.
FossilOrigin-Name: 3281972eaa46cb57fd9f0387063f47430dc0a3b4
Diffstat (limited to 'src/test8.c')
-rw-r--r-- | src/test8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test8.c b/src/test8.c index 80e7adaf2..ba7e37372 100644 --- a/src/test8.c +++ b/src/test8.c @@ -192,7 +192,7 @@ static int getColumnNames( rc = SQLITE_NOMEM; goto out; } - nBytes += strlen(zName)+1; + nBytes += (int)strlen(zName)+1; } aCol = (char **)sqlite3MallocZero(nBytes); if( !aCol ){ @@ -1217,7 +1217,7 @@ static int echoRename(sqlite3_vtab *vtab, const char *zNewName){ } if( p->isPattern ){ - int nThis = strlen(p->zThis); + int nThis = (int)strlen(p->zThis); char *zSql = sqlite3_mprintf("ALTER TABLE %s RENAME TO %s%s", p->zTableName, zNewName, &p->zTableName[nThis] ); |