diff options
Diffstat (limited to '3rdParty/SQLite/sqlite3.c')
-rw-r--r-- | 3rdParty/SQLite/sqlite3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdParty/SQLite/sqlite3.c b/3rdParty/SQLite/sqlite3.c index 3c7c57f..f11bd5d 100644 --- a/3rdParty/SQLite/sqlite3.c +++ b/3rdParty/SQLite/sqlite3.c @@ -289,5 +289,5 @@ * platforms. */ -#define SQLITE_INT_TO_PTR(X) ((void*)&((char*)0)[X]) +#define SQLITE_INT_TO_PTR(X) ((void*)(X)) #define SQLITE_PTR_TO_INT(X) ((int)(((char*)X)-(char*)0)) |