From 62be1fab6aa8e04265fd47012dcad8cd0868cdcc Mon Sep 17 00:00:00 2001 From: drh Date: Sat, 9 Dec 2017 01:02:33 +0000 Subject: Fix a harmless API signature mismatch in the unix VFS. FossilOrigin-Name: bab9de7fdda20a724f7c21ec2c25b488ece08b685f1e4fd15c9e73b6b4a0133a --- src/os_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os_unix.c') 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 }, -- cgit v1.2.3