aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-03-20 20:19:47 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-03-20 20:19:49 +0100
commit4ab00db8686729395878b5ffa3ab10b71d983b48 (patch)
tree557635c422db156aea2a326e52c905eeeba33a08
parentc593da5d454081fc83a135d4ba77728f1cb2ac66 (diff)
tests/hnb-test-ranap.c: Fix wrong printf format
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
-rw-r--r--src/tests/hnb-test-ranap.c2
1 files changed, 1 insertions, 1 deletions
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