Module: kamailio Branch: 6.0 Commit: 7bbf2cc6f2ee947c33d1b6a2495ba210f43b663c URL: https://github.com/kamailio/kamailio/commit/7bbf2cc6f2ee947c33d1b6a2495ba210...
Author: Torrey Searle torrey.searle@wavecrest.com Committer: Torrey Searle torrey.searle@wavecrest.com Date: 2025-06-10T14:48:24+02:00
tm: fix compile warning in uac.c
fix compile warning introduced by #4250
---
Modified: src/modules/tm/uac.c
---
Diff: https://github.com/kamailio/kamailio/commit/7bbf2cc6f2ee947c33d1b6a2495ba210... Patch: https://github.com/kamailio/kamailio/commit/7bbf2cc6f2ee947c33d1b6a2495ba210...
---
diff --git a/src/modules/tm/uac.c b/src/modules/tm/uac.c index c66955ee671..2d3ffc8af33 100644 --- a/src/modules/tm/uac.c +++ b/src/modules/tm/uac.c @@ -900,7 +900,7 @@ struct retr_buf *local_ack_rb(sip_msg_t *rpl_2xx, struct cell *trans, #ifdef WITH_EVENT_LOCAL_REQUEST dlg = (dlg_t *)shm_malloc(sizeof(dlg_t)); if(dlg == 0) { - SHM_MEM_ERROR_FMT("required (%u)\n", sizeof(dlg_t)); + SHM_MEM_ERROR_FMT("required (%lu)\n", sizeof(dlg_t)); return NULL; } memset(dlg, 0, sizeof(dlg_t));