fix test compile
PATCH 1/1 fix test compile
unit/test-sms.c: g_print format errors on x86_64 compiles, using %zd and %ld as appropriate.
Shane...
Quoted 1 line
From
6474da882d0d7289fbf1be664e992ae0fcdacbd1Mon Sep 17 00:00:00 2001
From: Shane Bryan <[email protected]>
Date: Wed, 24 Jun 2009 15:16:02 -0700
Subject: [PATCH] fix test compile
Signed-off-by Shane Bryan <[email protected]>
--- unit/test-sms.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
unit/test-sms.c +2 -2
@@ -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);
Signature · 1 line
1.6.0.4
Quoted 4 lines
unit/test-sms.c:g_printformat errors onx86_64compiles, using %zd and %ld as appropriate.Shane...
Patch has been applied. Thanks.
Regards,
-Denis