Merge pull request #3686 from lambdageek/dev-format-printf
[mono.git] / mono / metadata / marshal.c
index 162702a3d7c122c8e6c973aeabdef23dc01f58a4..f5cfadbb8faf929ec49a9295ab0f955476660643 100644 (file)
@@ -10535,7 +10535,7 @@ mono_marshal_alloc (gulong size, MonoError *error)
 #else
        res = g_try_malloc ((gulong)size);
        if (!res)
-               mono_error_set_out_of_memory (error, "Could not allocate %i bytes", size);
+               mono_error_set_out_of_memory (error, "Could not allocate %lu bytes", size);
 #endif
        return res;
 }