samba - update to version 4.21.2
[oi-userland.git] / components / library / glib / patches / 18-pid-format.patch
blobc54b6df9d71b66b1d56c7f9dcc1b677af51d5607
1 --- glib-2.82.0/glib/tests/mapping.c.orig
2 +++ glib-2.82.0/glib/tests/mapping.c
3 @@ -228,7 +228,7 @@
4 spawn_flags |= G_SPAWN_DO_NOT_REAP_CHILD;
5 #endif
7 - g_snprintf (pid, sizeof(pid), "%d", getpid ());
8 + g_snprintf (pid, sizeof(pid), "%ld", (long) getpid ());
9 child_argv[0] = local_argv[0];
10 child_argv[1] = "mapchild";
11 child_argv[2] = pid;