laforge submitted this change.
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(-)
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 change 27586. To unsubscribe, or for help writing mail filters, visit settings.