[sr-dev] git:master:7e8b679b: core: mem - fmalloc - cast size to unsigned long in debug messages

Daniel-Constantin Mierla miconda at gmail.com
Wed Jun 8 10:29:38 CEST 2016


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-06-08T10:19:20+02:00

core: mem - fmalloc - cast size to unsigned long in debug messages

- better for compatibility with C sepcs older than C99
- newer specs allow %zu, but 'z' specifier is not in older specs, %lu
  being the safer approach

---

Modified: mem/f_malloc.c

---

Diff:  https://github.com/kamailio/kamailio/commit/7e8b679b6a2c66b3695da3f1e076cfa525607d34.diff
Patch: https://github.com/kamailio/kamailio/commit/7e8b679b6a2c66b3695da3f1e076cfa525607d34.patch




More information about the sr-dev mailing list