summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2012-12-10 15:42:02 +0100
committerSylvain Munaut <tnt@246tNt.com>2013-01-02 20:44:10 +0100
commit4df6653d8dc0faef45ebf7dfba4746f2587c8c0f (patch)
tree05fdd492f26e3fd81d188dc3cbdf39f7812bae7c
parent9c1d7b10b83eaaaa328540f177c5af0ec90e4473 (diff)
mobile/gsm411: Fix printf format warning
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r--src/host/layer23/src/mobile/gsm411_sms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/layer23/src/mobile/gsm411_sms.c b/src/host/layer23/src/mobile/gsm411_sms.c
index 7f5d458..9de1259 100644
--- a/src/host/layer23/src/mobile/gsm411_sms.c
+++ b/src/host/layer23/src/mobile/gsm411_sms.c
@@ -372,7 +372,7 @@ static int gsm411_rx_rp_ud(struct msgb *msg, struct gsm_trans *trans,
LOGP(DLSMS, LOGL_INFO, "DST(%u,%s)\n", src_len,
osmo_hexdump(src, src_len));
- LOGP(DLSMS, LOGL_INFO, "TPDU(%u,%s)\n", msg->tail-msg->l4h,
+ LOGP(DLSMS, LOGL_INFO, "TPDU(%li,%s)\n", msg->tail-msg->l4h,
osmo_hexdump(msg->l4h, msg->tail-msg->l4h));
rc = gsm340_rx_tpdu(trans, msg);