examples: fix printf format warning in jsseek example

Yes, I know about G_GSIZE_FORMAT.
This commit is contained in:
Tim-Philipp Müller 2010-03-30 20:21:28 +01:00
parent 64cfa6bf73
commit fcd32fa399

View file

@ -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;
}