Fix compiler warnings.

FossilOrigin-Name: e9955c0e14d13ba1411f013acb4979958dae2516
This commit is contained in:
drh
2014-12-05 00:32:09 +00:00
parent 5de7d966bd
commit 2c3abeb8c3
4 changed files with 20 additions and 17 deletions
+1 -1
View File
@@ -3661,7 +3661,7 @@ static int test_prepare_v2(
zCopy = malloc(bytes);
memcpy(zCopy, zSql, bytes);
}else{
int n = strlen(zSql) + 1;
int n = (int)strlen(zSql) + 1;
zCopy = malloc(n);
memcpy(zCopy, zSql, n);
}