laforge has submitted this change. ( 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(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved tnt: Looks good to me, but someone else must approve
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); }
1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one.