openexr: make architecture independent
[oi-userland.git] / components / library / glib / patches / 32-umask-test.patch
blob5ab99673f55097be45aaba3b6019c8d51ed79b0b
1 umask returns mode_t which is unsigned int
2 this maks confusion in 32bit and 64bit build, so we extend to long for both
4 diff --git a/gio/tests/file.c b/gio/tests/file.c
5 index 9a15f97..888da69 100644
6 --- a/gio/tests/file.c
7 +++ b/gio/tests/file.c
8 @@ -2373,7 +2373,7 @@ test_copy_preserve_mode (void)
9 /* Reset the umask after querying it above. There’s no way to query it without
10 * changing it. */
11 umask (current_umask);
12 - g_test_message ("Current umask: %u", current_umask);
13 + g_test_message ("Current umask: %lu", (long) current_umask);
15 for (i = 0; i < G_N_ELEMENTS (vectors); i++)