Module: kamailio Branch: master Commit: a52859a6ed8c1ea2590e51e0c20d1f2553da1ec9 URL: https://github.com/kamailio/kamailio/commit/a52859a6ed8c1ea2590e51e0c20d1f25...
Author: Victor Seva linuxmaniac@torreviejawireless.org Committer: Victor Seva linuxmaniac@torreviejawireless.org Date: 2015-05-21T23:21:25+02:00
ims_isc: clean gcc warnings
mark.c:341:9: warning: format â%zuâ expects argument of type âsize_tâ, but argument 10 has type âintâ [-Wformat] mark.c:341:9: warning: format â%zuâ expects argument of type âsize_tâ, but argument 8 has type âintâ [-Wformat] mark.c:341:1: warning: format â%zuâ expects argument of type âsize_tâ, but argument 8 has type âintâ [-Wformat] mark.c:341:1: warning: format â%zuâ expects argument of type âsize_tâ, but argument 6 has type âintâ [-Wformat] mark.c:350:9: warning: format â%zuâ expects argument of type âsize_tâ, but argument 10 has type âintâ [-Wformat] mark.c:350:9: warning: format â%zuâ expects argument of type âsize_tâ, but argument 8 has type âintâ [-Wformat] mark.c:350:1: warning: format â%zuâ expects argument of type âsize_tâ, but argument 8 has type âintâ [-Wformat] mark.c:350:1: warning: format â%zuâ expects argument of type âsize_tâ, but argument 6 has type âintâ [-Wformat] mark.c:357:9: warning: format â%zuâ expects argument of type âsize_tâ, but argument 13 has type âintâ [-Wformat] mark.c:357:9: warning: format â%zuâ expects argument of type âsize_tâ, but argument 11 has type âintâ [-Wformat] mark.c:357:1: warning: format â%zuâ expects argument of type âsize_tâ, but argument 11 has type âintâ [-Wformat] mark.c:357:1: warning: format â%zuâ expects argument of type âsize_tâ, but argument 9 has type âintâ [-Wformat]
---
Modified: modules/ims_isc/mark.c
---
Diff: https://github.com/kamailio/kamailio/commit/a52859a6ed8c1ea2590e51e0c20d1f25... Patch: https://github.com/kamailio/kamailio/commit/a52859a6ed8c1ea2590e51e0c20d1f25...
---
diff --git a/modules/ims_isc/mark.c b/modules/ims_isc/mark.c index 99ef7de..167f3af 100644 --- a/modules/ims_isc/mark.c +++ b/modules/ims_isc/mark.c @@ -313,7 +313,7 @@ inline int isc_mark_write_route(struct sip_msg *msg, str *as, str *iscmark) { */ int isc_mark_write_psu(struct sip_msg *msg, isc_mark *mark) { struct lump *l = msg->add_rm; - int hlen; + size_t hlen; char * hstr = NULL; const str *regstate, *sescase;