mux_demux.c: Use %zu for size_t

This avoids compiler warnings on 32bit ARM builds

Change-Id: Ice43fb7c4514d364a3ae305847f28197a4f6cb2d
This commit is contained in:
Harald Welte 2022-03-28 10:13:36 +02:00
parent 0e194d4cd7
commit 16403fce90
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ _e1_tx_hdlcfs(struct e1_ts *ts, uint8_t *buf, int len)
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);
}