Skip to content

Commit 6542037

Browse files
committed
bin: fix packet size log format
(cherry picked from commit ab8a842)
1 parent af97ed5 commit 6542037

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bin_interface.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,8 @@ void call_callbacks(char* buffer, struct receive_info *rcv)
444444
return;
445445
}
446446
if (pkg_len > BIN_MAX_BUF_LEN) {
447-
LM_ERR("BIN packet size %u exceeds max size %u\n",
448-
pkg_len, BIN_MAX_BUF_LEN);
447+
LM_ERR("BIN packet size %u exceeds max size %zu\n",
448+
pkg_len, (size_t)BIN_MAX_BUF_LEN);
449449
return;
450450
}
451451

0 commit comments

Comments
 (0)