From fcd32fa39999723b0444783ead68cc5e560c6b71 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 30 Mar 2010 20:21:28 +0100 Subject: [PATCH] examples: fix printf format warning in jsseek example Yes, I know about G_GSIZE_FORMAT. --- tests/examples/seek/jsseek.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/examples/seek/jsseek.c b/tests/examples/seek/jsseek.c index b1af8cc..16167e4 100644 --- a/tests/examples/seek/jsseek.c +++ b/tests/examples/seek/jsseek.c @@ -2632,8 +2632,8 @@ read_joystick (GIOChannel * source, GIOCondition condition, gpointer user_data) result = g_io_channel_read (source, buf, sizeof (struct js_event), &bytes_read); if (bytes_read != sizeof (struct js_event)) { - g_print ("error reading joystick, read %u bytes of %u\n", bytes_read, - sizeof (struct js_event)); + g_print ("error reading joystick, read %u bytes of %u\n", + (guint) bytes_read, (guint) sizeof (struct js_event)); return TRUE; } -- 2.7.4