Using the c99 %zu for size variables logging.
Signed-off-by: Víctor Manuel Jáquez Leal <
vja...@igalia.com>
---
cvr/pn_direct_conn.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cvr/pn_direct_conn.c b/cvr/pn_direct_conn.c
index f17afe1..fe0c7ab 100644
--- a/cvr/pn_direct_conn.c
+++ b/cvr/pn_direct_conn.c
@@ -187,7 +187,7 @@ pn_direct_conn_write(struct pn_direct_conn *direct_conn,
g_return_val_if_fail(direct_conn != NULL, 0);
- pn_debug ("bytes_to_write=%d", len);
+ pn_debug ("bytes_to_write=%zu", len);
body_len = GUINT32_TO_LE(len);
@@ -205,7 +205,7 @@ pn_direct_conn_write(struct pn_direct_conn *direct_conn,
if (status == G_IO_STATUS_NORMAL)
{
- pn_debug ("bytes_written=%d", tmp);
+ pn_debug ("bytes_written=%zu", tmp);
#ifdef PECAN_DEBUG_DC_FILES
char *str;
@@ -318,7 +318,7 @@ read_cb(GIOChannel *source, GIOCondition condition, gpointer data)
return FALSE;
}
- pn_debug ("bytes_read=%d", len);
+ pn_debug ("bytes_read=%zu", len);
if (len > 0)
{
--
1.6.5