Module: kamailio Branch: master Commit: b4b2f9fc712e079ba0bb2401ca8b2643faf0fa37 URL: https://github.com/kamailio/kamailio/commit/b4b2f9fc712e079ba0bb2401ca8b2643...
Author: Torrey Searle torrey.searle@wavecrest.com Committer: Henning Westerholt hw@gilawa.com Date: 2025-06-10T14:47:00+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/b4b2f9fc712e079ba0bb2401ca8b2643... Patch: https://github.com/kamailio/kamailio/commit/b4b2f9fc712e079ba0bb2401ca8b2643...
---
diff --git a/src/modules/tm/uac.c b/src/modules/tm/uac.c index fab08de1a60..ed31dc5a118 100644 --- a/src/modules/tm/uac.c +++ b/src/modules/tm/uac.c @@ -906,7 +906,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));