diff options
author | Richard Hughes <richard@hughsie.com> | 2011-11-28 07:38:09 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2011-11-28 07:38:09 +0000 |
commit | 3ccd51e12c697738f8cf90b495a55f2eb75eeac0 (patch) | |
tree | b586649bccde686b67fcd40da8e1be31658911ee /src | |
parent | b9a6e03ef8633bb01cb5e4fb30ea449a37ea1d28 (diff) | |
download | colord-3ccd51e12c697738f8cf90b495a55f2eb75eeac0.tar.gz |
Fix a Wformat error when printing a gsize
Resolves https://bugs.freedesktop.org/show_bug.cgi?id=43284
Diffstat (limited to 'src')
-rw-r--r-- | src/sensors/cd-sensor-colorhug-private.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sensors/cd-sensor-colorhug-private.c b/src/sensors/cd-sensor-colorhug-private.c index 98a2940..01ec8ca 100644 --- a/src/sensors/cd-sensor-colorhug-private.c +++ b/src/sensors/cd-sensor-colorhug-private.c @@ -304,7 +304,8 @@ ch_device_reply_cb (GObject *source_object, error_enum = helper->buffer[CH_BUFFER_OUTPUT_RETVAL]; msg = g_strdup_printf ("Invalid read: retval=0x%02x [%s] " "cmd=0x%02x (expected 0x%x [%s]) " - "len=%li (expected %li)", + "len=%"G_GSIZE_FORMAT" " + "(expected %"G_GSIZE_FORMAT")", error_enum, ch_strerror (error_enum), helper->buffer[CH_BUFFER_OUTPUT_CMD], |