mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Fix harmless compiler warnings on x64 MSVC, mostly in test code, but also in
tclsqlite.c and in the FTS4 module. FossilOrigin-Name: 3281972eaa46cb57fd9f0387063f47430dc0a3b4
This commit is contained in:
@@ -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]
|
||||
);
|
||||
|
Reference in New Issue
Block a user