diff options
author | Harald Welte <laforge@gnumonks.org> | 2015-12-22 23:24:27 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-12-22 23:24:27 +0100 |
commit | ec86dcdc2fe3b57c0f3c71918967325eeb971369 (patch) | |
tree | 59014cda27e3866394c874fc02aa657423add464 | |
parent | b4d2736ecc0528416bc1c8099950d15f2a6c239d (diff) |
sccp.c: Fix compiler warnings about size_t / %u
-rw-r--r-- | src/sccp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -246,7 +246,7 @@ int _sccp_parse_connection_released(struct msgb *msgb, struct sccp_parse_result /* we don't have enough size for the struct */ if (msgb_l2len(msgb) < header_size) { - LOGP(DSCCP, LOGL_ERROR, "msgb > header_size %u %u\n", + LOGP(DSCCP, LOGL_ERROR, "msgb > header_size %u %zu\n", msgb_l2len(msgb), header_size); return -1; } @@ -352,7 +352,7 @@ int _sccp_parse_connection_release_complete(struct msgb *msgb, struct sccp_parse /* header check */ if (msgb_l2len(msgb) < header_size) { - LOGP(DSCCP, LOGL_ERROR, "msgb < header_size %u %u\n", + LOGP(DSCCP, LOGL_ERROR, "msgb < header_size %u %zu\n", msgb_l2len(msgb), header_size); return -1; } @@ -373,7 +373,7 @@ int _sccp_parse_connection_dt1(struct msgb *msgb, struct sccp_parse_result *resu /* we don't have enough size for the struct */ if (msgb_l2len(msgb) < header_size) { - LOGP(DSCCP, LOGL_ERROR, "msgb > header_size %u %u\n", + LOGP(DSCCP, LOGL_ERROR, "msgb > header_size %u %zu\n", msgb_l2len(msgb), header_size); return -1; } |