[Telepathy-commits] [telepathy-gabble/master] Fix format strings for gsize

Will Thompson will.thompson at collabora.co.uk
Thu Mar 12 11:32:42 PDT 2009


---
 src/bytestream-ibb.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/bytestream-ibb.c b/src/bytestream-ibb.c
index 24e67e9..6d800b2 100644
--- a/src/bytestream-ibb.c
+++ b/src/bytestream-ibb.c
@@ -446,7 +446,8 @@ iq_acked_cb (GabbleConnection *conn,
         {
           g_string_erase (priv->write_buffer, 0, sent);
 
-          DEBUG ("buffer has not been completely flushed; %d bytes left",
+          DEBUG ("buffer has not been completely flushed; %" G_GSIZE_FORMAT
+              " bytes left",
               priv->write_buffer->len);
         }
     }
@@ -599,7 +600,7 @@ gabble_bytestream_ibb_send (GabbleBytestreamIface *iface,
           g_string_append_len (priv->write_buffer, str + sent, remaining);
         }
 
-      DEBUG ("write buffer size: %u", priv->write_buffer->len);
+      DEBUG ("write buffer size: %" G_GSIZE_FORMAT, priv->write_buffer->len);
       change_write_blocked_state (self, TRUE);
     }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list