From 4ab00db8686729395878b5ffa3ab10b71d983b48 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Fri, 20 Mar 2020 20:19:47 +0100 Subject: tests/hnb-test-ranap.c: Fix wrong printf format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Catched by compiler: hnb-test-ranap.c:76:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘RANAP_CN_DomainIndicator_t’ {aka ‘long int’} [-Wformat=] Change-Id: Ie4cd6a36fd0e9a871a1815d600e8a321a3d2a208 --- src/tests/hnb-test-ranap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/tests/hnb-test-ranap.c b/src/tests/hnb-test-ranap.c index e7c9871..517e1a3 100644 --- a/src/tests/hnb-test-ranap.c +++ b/src/tests/hnb-test-ranap.c @@ -73,7 +73,7 @@ void hnb_test_rua_cl_handle_ranap(struct hnb_test *hnb, ranap_msg->msg.pagingIEs.permanentNAS_UE_ID.choice.iMSI.size); } else imsi[0] = '\0'; - printf("rx Paging: presence=%hx domain=%d IMSI=%s\n", + printf("rx Paging: presence=%hx domain=%ld IMSI=%s\n", ranap_msg->msg.pagingIEs.presenceMask, ranap_msg->msg.pagingIEs.cN_DomainIndicator, imsi -- cgit v1.2.3