aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2023-01-27 05:37:24 +0000
committerstephan <stephan@noemail.net>2023-01-27 05:37:24 +0000
commit87ce1ff7f72621cb8a8a99dc93141d253899eba0 (patch)
tree12fa4c9ac1b133103409ce907c467f987ddbeb19 /src/os_unix.c
parentcdcb84ef00da4a9b367e6536149634f633c41c71 (diff)
parentca86a5351e39bbdba0ec38ed06d28a1a2dca504f (diff)
downloadsqlite-87ce1ff7f72621cb8a8a99dc93141d253899eba0.tar.gz
sqlite-87ce1ff7f72621cb8a8a99dc93141d253899eba0.zip
Merge trunk into wasi-patches branch.
FossilOrigin-Name: 2ce89f5efcdb8b4c58eb2d30833a76d79ae0134c31d5ab8564be9e1cf5a1f4f0
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 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. */