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

Author: Camille Oudot <[email protected]>
Committer: Camille Oudot <[email protected]>
Date: 2015-08-11T13:25:52+02:00

mem: fix compilation warning in TLSF

---

Modified: mem/tlsf.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/8695be4cb188397cd7bba2ad348e6f29a0158aa6.diff
Patch: 
https://github.com/kamailio/kamailio/commit/8695be4cb188397cd7bba2ad348e6f29a0158aa6.patch

---

diff --git a/mem/tlsf.c b/mem/tlsf.c
index 3b92f68..96b9abd 100644
--- a/mem/tlsf.c
+++ b/mem/tlsf.c
@@ -1034,7 +1034,7 @@ void tlsf_free(tlsf_t tlsf, void* ptr)
                block_insert(control, block);
        } else {
 #ifdef DBG_TLSF_MALLOC
-               LOG(L_WARN, "tlsf_free: free(0) called from %s: %s(%d)\n", 
file, function, line);
+               LOG(L_WARN, "tlsf_free: free(0) called from %s: %s(%lu)\n", 
file, function, line);
 #else
                LOG(L_WARN, "tlsf_free: free(0) called\n");
 #endif


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to