[sr-dev] git:master:8695be4c: mem: fix compilation warning in TLSF
Camille Oudot
camille.oudot at orange.com
Tue Aug 11 13:26:15 CEST 2015
Module: kamailio
Branch: master
Commit: 8695be4cb188397cd7bba2ad348e6f29a0158aa6
URL: https://github.com/kamailio/kamailio/commit/8695be4cb188397cd7bba2ad348e6f29a0158aa6
Author: Camille Oudot <camille.oudot at orange.com>
Committer: Camille Oudot <camille.oudot at 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/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
More information about the sr-dev
mailing list