Module: kamailio
Branch: 6.0
Commit: 7bbf2cc6f2ee947c33d1b6a2495ba210f43b663c
URL: 
https://github.com/kamailio/kamailio/commit/7bbf2cc6f2ee947c33d1b6a2495ba210f43b663c

Author: Torrey Searle <torrey.sea...@wavecrest.com>
Committer: Torrey Searle <torrey.sea...@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/7bbf2cc6f2ee947c33d1b6a2495ba210f43b663c.diff
Patch: 
https://github.com/kamailio/kamailio/commit/7bbf2cc6f2ee947c33d1b6a2495ba210f43b663c.patch

---

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));

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to