fix compile error for AArch64-ILP32
The following Merge Request (MR) has been forwarded from GitHub in order to prevent the GNOME Project from losing contributions coming from un-official channels. And for contributors to not see their valuable contributions not being accounted for.
Relevant information:
Github handle: zhuyan2019
MR URL: https://github.com/GNOME/glib/pull/30
Patch URL: https://github.com/GNOME/glib/pull/30.patch
Body of the MR:
error log: glib/gslice.c:1529:26: error: format '%u' expects iargument of type 'unsigned int', but argument 4 has type 'size_t {aka long unsigned int}' [-Werror=format=]
g_fprintf (stderr, "GSlice: MemChecker: attempt to release non-allocated block: %p size=%" G_GSIZE_FORMAT "\n", pointer, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from glib/gslice.c:20:0: glib/glibconfig.h:81:25: note: format string is defined here #define G_GSIZE_FORMAT "u"
Signed-off-by: zhuyan zhuyan34@huawei.com