From: Sascha Schumann Date: Sun, 17 Aug 2003 13:59:59 +0000 (+0000) Subject: The first element of the array seems to store the members count X-Git-Tag: RELEASE_0_7~604 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a81e99c1f111f9bea65b575c75be67443196038;p=php The first element of the array seems to store the members count Add a cast to (long) to quiet the compiler --- diff --git a/ext/sqlite/libsqlite/src/table.c b/ext/sqlite/libsqlite/src/table.c index 71f0b59a3a..e0965cb30b 100644 --- a/ext/sqlite/libsqlite/src/table.c +++ b/ext/sqlite/libsqlite/src/table.c @@ -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