talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 3227621a743631d9ad332419f5422d1280502b31
parent 360fe41e8eae9cdf34b24f7f2d4968da31257ddb
Author: Ricardo Mones <ricardo@mones.org>
Date:   Sat,  6 Jun 2015 02:54:36 +0200

Fix a couple of format warnings

• 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=]

Diffstat:
Msrc/common/utils.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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;