Module: kamailio
Branch: master
Commit: 8695be4cb188397cd7bba2ad348e6f29a0158aa6
URL:
https://github.com/kamailio/kamailio/commit/8695be4cb188397cd7bba2ad348e6f2…
Author: Camille Oudot <camille.oudot(a)orange.com>
Committer: Camille Oudot <camille.oudot(a)orange.com>
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/8695be4cb188397cd7bba2ad348e6f2…
Patch:
https://github.com/kamailio/kamailio/commit/8695be4cb188397cd7bba2ad348e6f2…
---
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