mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
examples: fix printf format warning in jsseek example
Yes, I know about G_GSIZE_FORMAT.
This commit is contained in:
parent
64cfa6bf73
commit
fcd32fa399
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue