We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47d455c commit 5dd5c5eCopy full SHA for 5dd5c5e
meson.build
@@ -1,6 +1,6 @@
1
project( 'nip4', 'c',
2
# ie. a major after nip2 8.9 for workspace save file versioning
3
- version: '9.0.0-9',
+ version: '9.0.0-10',
4
license: 'GPL',
5
meson_version: '>=0.64',
6
default_options: [
src/util.c
@@ -2745,7 +2745,8 @@ get_gpid(void)
2745
GPid gpid;
2746
2747
#ifdef G_OS_WIN32
2748
- gpid = GetCurrentProcessId();
+ // pid_t is pointer-sized
2749
+ gpid = GINT_TO_POINTER(GetCurrentProcessId());
2750
#else /*!G_OS_WIN32*/
2751
gpid = getpid();
2752
#endif /*G_OS_WIN32*/
0 commit comments