summaryrefslogtreecommitdiff
path: root/src/channel-base.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2016-05-30 19:29:24 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2016-06-01 11:05:41 +0200
commit48bbcbbc4936b12c92f6e4dbea7d42c073eba4e4 (patch)
tree1783bc4489d2a6d42f532ab2c4dedfb7de9c40c1 /src/channel-base.c
parent67011b2c8ba6a50249dd64af83514658a5b18560 (diff)
Fix many -Werror=format warnings
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
Diffstat (limited to 'src/channel-base.c')
-rw-r--r--src/channel-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channel-base.c b/src/channel-base.c
index 20bb0cc..004dba9 100644
--- a/src/channel-base.c
+++ b/src/channel-base.c
@@ -77,7 +77,7 @@ spice_channel_handle_notify(SpiceChannel *channel, SpiceMsgIn *in)
CHANNEL_DEBUG(channel, "%s -- %s%s #%u%s%.*s", __FUNCTION__,
severity, visibility, notify->what,
- message_str ? ": " : "", notify->message_len,
+ message_str ? ": " : "", (int)notify->message_len,
message_str ? message_str : "");
}