diff options
author | drh <drh@noemail.net> | 2008-12-08 18:19:17 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-12-08 18:19:17 +0000 |
commit | 1875f7a3dbbcc252804c60d92a7abbc4888b4996 (patch) | |
tree | 90da5a754e84e42c70ecd24247c02306ad4d429f /src/os_win.c | |
parent | 128255fce671bf3c19feb569f4b87e7e6003da24 (diff) | |
download | sqlite-1875f7a3dbbcc252804c60d92a7abbc4888b4996.tar.gz sqlite-1875f7a3dbbcc252804c60d92a7abbc4888b4996.zip |
The amalgamation now compiles cleanly on GCC with options
-pedantic-errors -Wno-long-long. (CVS 5991)
FossilOrigin-Name: 73c7302c5f76a2f61ecd75f8bda69bb500d3119c
Diffstat (limited to 'src/os_win.c')
-rw-r--r-- | src/os_win.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/os_win.c b/src/os_win.c index 833c24ce7..7f32b43f1 100644 --- a/src/os_win.c +++ b/src/os_win.c @@ -12,7 +12,7 @@ ** ** This file contains code that is specific to windows. ** -** $Id: os_win.c,v 1.140 2008/11/19 21:35:47 shane Exp $ +** $Id: os_win.c,v 1.141 2008/12/08 18:19:18 drh Exp $ */ #include "sqliteInt.h" #if SQLITE_OS_WIN /* This file is used for windows only */ @@ -1527,14 +1527,14 @@ static void *winDlOpen(sqlite3_vfs *pVfs, const char *zFilename){ static void winDlError(sqlite3_vfs *pVfs, int nBuf, char *zBufOut){ getLastErrorMsg(nBuf, zBufOut); } -void *winDlSym(sqlite3_vfs *pVfs, void *pHandle, const char *zSymbol){ +void (*winDlSym(sqlite3_vfs *pVfs, void *pHandle, const char *zSymbol))(void){ #if SQLITE_OS_WINCE /* The GetProcAddressA() routine is only available on wince. */ - return GetProcAddressA((HANDLE)pHandle, zSymbol); + return (void(*)(void))GetProcAddressA((HANDLE)pHandle, zSymbol); #else /* All other windows platforms expect GetProcAddress() to take ** an Ansi string regardless of the _UNICODE setting */ - return GetProcAddress((HANDLE)pHandle, zSymbol); + return (void(*)(void))GetProcAddress((HANDLE)pHandle, zSymbol); #endif } void winDlClose(sqlite3_vfs *pVfs, void *pHandle){ |