[PATCH] Use correct printf modifier for gsize
- From: Thomas Bechtold <thomasbechtold jpberlin de>
- To: networkmanager-list gnome org
- Subject: [PATCH] Use correct printf modifier for gsize
- Date: Mon, 25 Mar 2013 14:28:03 +0100
Hi,
this patch is for MM06. But I guess master is also affected.
Cheers,
Tom
---
src/mm-sms-utils.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mm-sms-utils.c b/src/mm-sms-utils.c
index f04cbe2..cda9337 100644
--- a/src/mm-sms-utils.c
+++ b/src/mm-sms-utils.c
@@ -362,7 +362,7 @@ sms_parse_pdu (const char *hexpdu, GError **error)
variable_length_items = smsc_addr_num_octets;
if (pdu_len < variable_length_items + SMS_MIN_PDU_LEN) {
g_set_error (error, MM_MODEM_ERROR, MM_MODEM_ERROR_GENERAL,
- "PDU too short (1): %zd vs %d",
+ "PDU too short (1): %" G_GSIZE_FORMAT " vs %d",
pdu_len,
variable_length_items + SMS_MIN_PDU_LEN);
g_free (pdu);
@@ -380,7 +380,7 @@ sms_parse_pdu (const char *hexpdu, GError **error)
variable_length_items += sender_addr_num_octets;
if (pdu_len < variable_length_items + SMS_MIN_PDU_LEN) {
g_set_error (error, MM_MODEM_ERROR, MM_MODEM_ERROR_GENERAL,
- "PDU too short (2): %zd vs %d",
+ "PDU too short (2): %" G_GSIZE_FORMAT " vs %d",
pdu_len,
variable_length_items + SMS_MIN_PDU_LEN);
g_free (pdu);
@@ -400,7 +400,7 @@ sms_parse_pdu (const char *hexpdu, GError **error)
variable_length_items += user_data_len;
if (pdu_len < variable_length_items + SMS_MIN_PDU_LEN) {
g_set_error (error, MM_MODEM_ERROR, MM_MODEM_ERROR_GENERAL,
- "PDU too short (3): %zd vs %d",
+ "PDU too short (3): %" G_GSIZE_FORMAT " vs %d",
pdu_len,
variable_length_items + SMS_MIN_PDU_LEN);
g_free (pdu);
--
1.7.2.5
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]