The first element of the array seems to store the members count

Add a cast to (long) to quiet the compiler
This commit is contained in:
Sascha Schumann 2003-08-17 13:59:59 +00:00
parent e6b45266d2
commit 3a81e99c1f

View file

@ -195,7 +195,7 @@ void sqlite_free_table(
int i, n;
azResult--;
if( azResult==0 ) return;
n = (int)azResult[0];
n = (int)(long)azResult[0];
for(i=1; i<n; i++){ if( azResult[i] ) free(azResult[i]); }
free(azResult);
}