From 2581d80ec1f50e4a4bf0b7dcb3efada24580fd4f Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sat, 29 Sep 2007 00:33:08 +0000 Subject: [PATCH] fix warn git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5763 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/sqlite/src/table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/sqlite/src/table.c b/libs/sqlite/src/table.c index 30c1484898..407f1f823b 100644 --- a/libs/sqlite/src/table.c +++ b/libs/sqlite/src/table.c @@ -144,7 +144,7 @@ int sqlite3_get_table( rc = sqlite3_exec(db, zSql, sqlite3_get_table_cb, &res, pzErrMsg); if( res.azResult ){ assert( sizeof(res.azResult[0])>= sizeof(res.nData) ); - res.azResult[0] = (char*)res.nData; + res.azResult[0] = (char*)(intptr_t *)res.nData; } if( (rc&0xff)==SQLITE_ABORT ){ sqlite3_free_table(&res.azResult[1]); @@ -189,7 +189,7 @@ void sqlite3_free_table( int i, n; azResult--; if( azResult==0 ) return; - n = (int)azResult[0]; + n = (int)(intptr_t *)azResult[0]; for(i=1; i