* [PATCH] fix test compile
@ 2009-06-24 23:51 Shane Bryan
2009-06-25 1:01 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Shane Bryan @ 2009-06-24 23:51 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 107 bytes --]
unit/test-sms.c: g_print format errors on x86_64 compiles, using %zd
and %ld as appropriate.
Shane...
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-fix-test-compile.patch --]
[-- Type: text/x-patch, Size: 961 bytes --]
>From 6474da882d0d7289fbf1be664e992ae0fcdacbd1 Mon Sep 17 00:00:00 2001
From: Shane Bryan <shane.bryan@linux.intel.com>
Date: Wed, 24 Jun 2009 15:16:02 -0700
Subject: [PATCH] fix test compile
Signed-off-by: Shane Bryan <shane.bryan@linux.intel.com>
---
unit/test-sms.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/unit/test-sms.c b/unit/test-sms.c
index 37f0f26..47a3f4b 100644
--- a/unit/test-sms.c
+++ b/unit/test-sms.c
@@ -781,7 +781,7 @@ static void test_prepare_concat()
guint8 seq;
if (g_test_verbose())
- g_print("strlen: %d\n", strlen(pad1));
+ g_print("strlen: %zd\n", strlen(pad1));
r = sms_text_prepare(pad1, 0, TRUE, NULL);
@@ -815,7 +815,7 @@ static void test_prepare_concat()
decode_hex_own_buf((char *)l->data, -1, &len, 0, pdu);
if (g_test_verbose())
- g_print("PDU Len: %d", len);
+ g_print("PDU Len: %ld", len);
ok = sms_decode(pdu, len, TRUE, len - 1, &decoded);
--
1.6.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-25 1:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-24 23:51 [PATCH] fix test compile Shane Bryan
2009-06-25 1:01 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.