Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jcupitt committed Feb 16, 2025
1 parent 47d455c commit 5dd5c5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project( 'nip4', 'c',
# ie. a major after nip2 8.9 for workspace save file versioning
version: '9.0.0-9',
version: '9.0.0-10',
license: 'GPL',
meson_version: '>=0.64',
default_options: [
Expand Down
3 changes: 2 additions & 1 deletion src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -2745,7 +2745,8 @@ get_gpid(void)
GPid gpid;

#ifdef G_OS_WIN32
gpid = GetCurrentProcessId();
// pid_t is pointer-sized
gpid = GINT_TO_POINTER(GetCurrentProcessId());
#else /*!G_OS_WIN32*/
gpid = getpid();
#endif /*G_OS_WIN32*/
Expand Down

0 comments on commit 5dd5c5e

Please sign in to comment.