laforge has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-e1d/+/27586 )
Change subject: mux_demux.c: Use %zu for size_t
......................................................................
mux_demux.c: Use %zu for size_t
This avoids compiler warnings on 32bit ARM builds
Change-Id: Ice43fb7c4514d364a3ae305847f28197a4f6cb2d
---
M src/mux_demux.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/86/27586/1
diff --git a/src/mux_demux.c b/src/mux_demux.c
index 6a7b326..3d72f7f 100644
--- a/src/mux_demux.c
+++ b/src/mux_demux.c
@@ -76,7 +76,7 @@
if (rv > 0) {
if (rv > (int)sizeof(ts->hdlc.tx_buf)) {
LOGPTS(ts, DXFR, LOGL_ERROR, "Truncated message: Client tried to "
- "send %d bytes but our buffer is limited to %lu\n",
+ "send %d bytes but our buffer is limited to %zu\n",
rv, sizeof(ts->hdlc.tx_buf));
rv = sizeof(ts->hdlc.tx_buf);
}
--
To view, visit
https://gerrit.osmocom.org/c/osmo-e1d/+/27586
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: Ice43fb7c4514d364a3ae305847f28197a4f6cb2d
Gerrit-Change-Number: 27586
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: newchange