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 @@ -288,7 +288,7 @@ * requires the #include of specific headers which differs between * 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)) /* |