diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2014-04-07 09:46:27 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-04-08 13:31:00 +0200 |
commit | 9dcdfebf4f6688d6710a00db033bb6803bbbb247 (patch) | |
tree | baa8fbc3d7148b392c35f6e81ba87afcf56d1cda | |
parent | 5718626cf382d3b973ec5c62a0314e4f5997ae13 (diff) |
Use correct printf format modifier for gssize
This fixes this warning/error:
channel-webdav.c: In function 'demux_to_client':
channel-webdav.c:318:5: error: format '%ld' expects argument of type 'long
int', but argument 5 has type 'gssize' [-Werror=format=]
CHANNEL_DEBUG(self, "pushing %ld to client %p", size, client);
-rw-r--r-- | gtk/channel-webdav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/channel-webdav.c b/gtk/channel-webdav.c index c619e48..b8b0993 100644 --- a/gtk/channel-webdav.c +++ b/gtk/channel-webdav.c @@ -315,7 +315,7 @@ static void demux_to_client(SpiceWebdavChannel *self, SpiceWebdavChannelPrivate *c = self->priv; gssize size = c->demux.size; - CHANNEL_DEBUG(self, "pushing %ld to client %p", size, client); + CHANNEL_DEBUG(self, "pushing %"G_GSSIZE_FORMAT" to client %p", size, client); if (size != 0) { output_queue_push(client->output, (guint8 *)c->demux.buf, size, |