Module: kamailio
Branch: master
Commit: b4b2f9fc712e079ba0bb2401ca8b2643faf0fa37
URL: 
https://github.com/kamailio/kamailio/commit/b4b2f9fc712e079ba0bb2401ca8b2643faf0fa37

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

---

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

_______________________________________________
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