-
mingw builds currently trigger a few warnings: ../../src/channel-cursor.c: In function 'set_cursor': ../../src/channel-cursor.c:392:210: warning: 'I' flag used with '%x' gnu_printf format [-Wformat=] CHANNEL_DEBUG(channel, "type %s(%d), %" PRIx64 ", %dx%d", ../../src/channel-cursor.c:392:210: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] See this glib commit for a related issue https://gitlab.gnome.org/GNOME/glib/commit/3d7cde654c4c6f3bdad32f5521f28f5802a7c377 and this comment in glib bugzilla for a lot of details https://bugzilla.gnome.org/show_bug.cgi?id=795569#c7 This commit switches to using the format specifiers provided by glib instead which won't have the same issue as PRIx64 Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
a2ffc3e9