diff options
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 78ce223d9..e430e5df3 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -218,7 +218,7 @@ #endif /* SQLITE_WASI */ #ifdef SQLITE_WASI -# define osGetpid(X) 1 +# define osGetpid(X) (pid_t)1 #else /* Always cast the getpid() return type for compatibility with ** kernel modules in VxWorks. */ |