1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Fix compiler warnings found on Lion.

FossilOrigin-Name: fd74d3d91721ca404537f195fed04c9edef20bf2
This commit is contained in:
drh
2012-09-29 14:45:54 +00:00
parent 0094f37e1f
commit b3f787f4c7
6 changed files with 23 additions and 21 deletions

View File

@@ -346,8 +346,9 @@ static int test_intarray_bind(
return TCL_ERROR;
}
for(i=0; i<n; i++){
a[i] = 0;
Tcl_GetWideIntFromObj(0, objv[i+2], &a[i]);
Tcl_WideInt x = 0;
Tcl_GetWideIntFromObj(0, objv[i+2], &x);
a[i] = x;
}
rc = sqlite3_intarray_bind(pArray, n, a, sqlite3_free);
if( rc!=SQLITE_OK ){