pespin has uploaded this change for review.
trxcon: Fix printf type
data_len is a size_t, and gcc warns about it.
Change-Id: Ib0c1bfefc0371b8cfb3b7a2e74a6980dd3987931
---
M src/host/trxcon/src/trxcon_fsm.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/61/29261/1
diff --git a/src/host/trxcon/src/trxcon_fsm.c b/src/host/trxcon/src/trxcon_fsm.c
index 40d5253..aa7193a 100644
--- a/src/host/trxcon/src/trxcon_fsm.c
+++ b/src/host/trxcon/src/trxcon_fsm.c
@@ -80,7 +80,7 @@
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;
}
To view, visit change 29261. To unsubscribe, or for help writing mail filters, visit settings.