mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 14:44:17 +00:00
sqlite: fix build with -Werror
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11527 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
c17a0a29f7
commit
1e1893165f
3 files changed
+6
-4
No files matched your search
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
#ifndef SQLITE_OMIT_VIRTUALTABLE
|
||||
#include "sqliteInt.h"
|
||||
#include "os.h"
|
||||
|
||||
/*
|
||||
** External API function used to create a new virtual-table module.
|
||||
@@ -562,7 +563,7 @@ int sqlite3VtabSync(sqlite3 *db, int rc2){
|
||||
** sqlite3.aVTrans array. Then clear the array itself.
|
||||
*/
|
||||
int sqlite3VtabRollback(sqlite3 *db){
|
||||
callFinaliser(db, (int)(&((sqlite3_module *)0)->xRollback));
|
||||
callFinaliser(db, (int)(intptr_t)(&((sqlite3_module *)0)->xRollback));
|
||||
return SQLITE_OK;
|
||||
}
|
||||
|
||||
@@ -571,7 +572,7 @@ int sqlite3VtabRollback(sqlite3 *db){
|
||||
** sqlite3.aVTrans array. Then clear the array itself.
|
||||
*/
|
||||
int sqlite3VtabCommit(sqlite3 *db){
|
||||
callFinaliser(db, (int)(&((sqlite3_module *)0)->xCommit));
|
||||
callFinaliser(db, (int)(intptr_t)(&((sqlite3_module *)0)->xCommit));
|
||||
return SQLITE_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user