/dev/qulogic/ckeditor: f6e10150f7c0: Fix minor printf format war...
Elliott Sales de Andrade
qulogic at pidgin.im
Mon Aug 5 19:00:09 EDT 2013
Changeset: f6e10150f7c0c8620d8e5da678e11f54378a0875
Author: Elliott Sales de Andrade <qulogic at pidgin.im>
Date: 2013-08-04 06:08 -0400
Branch: default
URL: https://hg.pidgin.im/dev/qulogic/ckeditor/rev/f6e10150f7c0
Description:
Fix minor printf format warning.
diffstat:
libpurple/ciphers/aes.c | 2 +-
libpurple/plugins/ciphertest.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff --git a/libpurple/ciphers/aes.c b/libpurple/ciphers/aes.c
--- a/libpurple/ciphers/aes.c
+++ b/libpurple/ciphers/aes.c
@@ -172,7 +172,7 @@ purple_aes_unpad_pkcs7(guchar input[], s
if (padding_len <= 0 || padding_len > PURPLE_AES_BLOCK_SIZE ||
padding_len > in_len) {
purple_debug_warning("cipher-aes",
- "Invalid padding length: %d (total %d) - "
+ "Invalid padding length: %d (total %" G_GSIZE_FORMAT ") - "
"most probably, the key was invalid\n",
padding_len, in_len);
return -1;
diff --git a/libpurple/plugins/ciphertest.c b/libpurple/plugins/ciphertest.c
--- a/libpurple/plugins/ciphertest.c
+++ b/libpurple/plugins/ciphertest.c
@@ -487,7 +487,7 @@ cipher_test_aes(void)
gchar *cipher_b16, *deciphered;
purple_debug_info("cipher-test", "Test %02d:\n", i);
- purple_debug_info("cipher-test", "\tTesting '%s' (%dbit) \n",
+ purple_debug_info("cipher-test", "\tTesting '%s' (%" G_GSIZE_FORMAT "bit) \n",
test->plaintext ? test->plaintext : "(null)",
strlen(test->key) * 8 / 2);
More information about the Commits
mailing list