umask returns mode_t which is unsigned int
this maks confusion in 32bit and 64bit build, so we extend to long for both

--- glib-2.82.0/gio/tests/file.c.orig
+++ glib-2.82.0/gio/tests/file.c
@@ -2469,7 +2469,7 @@
   /* Reset the umask after querying it above. There’s no way to query it without
    * changing it. */
   umask (current_umask);
-  g_test_message ("Current umask: %u", current_umask);
+  g_test_message ("Current umask: %lu", (long) current_umask);
 
   for (i = 0; i < G_N_ELEMENTS (vectors); i++)
     {