[Commits] [SCM] claws branch, master, updated. 3.11.1-118-g3227621

mones at claws-mail.org mones at claws-mail.org
Sat Jun 6 02:59:03 CEST 2015


The branch, master has been updated
       via  3227621a743631d9ad332419f5422d1280502b31 (commit)
      from  360fe41e8eae9cdf34b24f7f2d4968da31257ddb (commit)

Summary of changes:
 src/common/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 3227621a743631d9ad332419f5422d1280502b31
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sat Jun 6 02:54:36 2015 +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=]

diff --git a/src/common/utils.c b/src/common/utils.c
index a135a99..27a02f4 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;

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list