mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
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:
parent
e6b45266d2
commit
3a81e99c1f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue