From 3227621a743631d9ad332419f5422d1280502b31 Mon Sep 17 00:00:00 2001 From: Ricardo Mones Date: Sat, 6 Jun 2015 02:54:36 +0200 Subject: [PATCH] Fix a couple of format warnings MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit • utils.c:5569:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat=] • utils.c:5569:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'gsize' [-Wformat=] --- src/common/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utils.c b/src/common/utils.c index a135a9952..27a02f46b 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -5566,7 +5566,7 @@ guchar *g_base64_decode_zero(const gchar *text, gsize *out_len) g_free(tmp); if (strlen(out) != *out_len) { - g_warning ("strlen(out) %d != *out_len %d", strlen(out), *out_len); + g_warning ("strlen(out) %zd != *out_len %" G_GSIZE_FORMAT, strlen(out), *out_len); } return out; -- 2.25.1