aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2017-12-09 01:02:33 +0000
committerdrh <drh@noemail.net>2017-12-09 01:02:33 +0000
commit62be1fab6aa8e04265fd47012dcad8cd0868cdcc (patch)
tree4c2e5f9c5830dfb35980f6cc804704ac035df856 /src/os_unix.c
parent7e8515d8bec405f8d17a91a94c9d0d690b0a9ff5 (diff)
downloadsqlite-62be1fab6aa8e04265fd47012dcad8cd0868cdcc.tar.gz
sqlite-62be1fab6aa8e04265fd47012dcad8cd0868cdcc.zip
Fix a harmless API signature mismatch in the unix VFS.
FossilOrigin-Name: bab9de7fdda20a724f7c21ec2c25b488ece08b685f1e4fd15c9e73b6b4a0133a
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index c5d9aca2c..6ba4a5645 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -483,7 +483,7 @@ static struct unix_syscall {
#else
{ "munmap", (sqlite3_syscall_ptr)0, 0 },
#endif
-#define osMunmap ((void*(*)(void*,size_t))aSyscall[23].pCurrent)
+#define osMunmap ((int(*)(void*,size_t))aSyscall[23].pCurrent)
#if HAVE_MREMAP && (!defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0)
{ "mremap", (sqlite3_syscall_ptr)mremap, 0 },