1 diff --git a/glib/tests/mapping.c b/glib/tests/mapping.c
2 index ea3495c..996e4da 100644
3 --- a/glib/tests/mapping.c
4 +++ b/glib/tests/mapping.c
5 @@ -225,7 +225,7 @@ test_child_private (void)
6 signal (SIGUSR1, handle_usr1);
9 - g_snprintf (pid, sizeof(pid), "%d", getpid ());
10 + g_snprintf (pid, sizeof(pid), "%ld", (long) getpid ());
11 child_argv[0] = local_argv[0];
12 child_argv[1] = "mapchild";