[PATCH] fix test compile

Shane Bryan shane.bryan at linux.intel.com
Wed Jun 24 15:16:02 PDT 2009


Signed-off-by: Shane Bryan <shane.bryan at 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


--MP_/dsKgMTLL907US29Bw7yLjJX--


More information about the ofono mailing list