summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-09-01 13:06:55 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2022-09-01 13:06:58 +0200
commit56709b243d01d61d71727af2887e325055cc5799 (patch)
treeaf6bd8302f1c83a150c94d9a5665b9c902318fc5
parentc2d022d34869595b3d57db32035709c2d8c4d285 (diff)
trxcon: Fix printf type
data_len is a size_t, and gcc warns about it. Change-Id: Ib0c1bfefc0371b8cfb3b7a2e74a6980dd3987931
-rw-r--r--src/host/trxcon/src/trxcon_fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/trxcon/src/trxcon_fsm.c b/src/host/trxcon/src/trxcon_fsm.c
index 40d52534..aa7193ad 100644
--- a/src/host/trxcon/src/trxcon_fsm.c
+++ b/src/host/trxcon/src/trxcon_fsm.c
@@ -80,7 +80,7 @@ static void trxcon_allstate_action(struct osmo_fsm_inst *fi,
break;
}
if (req->data_len != GSM_MACBLOCK_LEN) {
- LOGPFSML(fi, LOGL_ERROR, "Unexpected data length=%u\n", req->data_len);
+ LOGPFSML(fi, LOGL_ERROR, "Unexpected data length=%zu\n", req->data_len);
break;
}