[sr-dev] git:master:a52859a6: ims_isc: clean gcc warnings
Victor Seva
linuxmaniac at torreviejawireless.org
Fri May 22 11:15:55 CEST 2015
Module: kamailio
Branch: master
Commit: a52859a6ed8c1ea2590e51e0c20d1f2553da1ec9
URL: https://github.com/kamailio/kamailio/commit/a52859a6ed8c1ea2590e51e0c20d1f2553da1ec9
Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at 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/a52859a6ed8c1ea2590e51e0c20d1f2553da1ec9.diff
Patch: https://github.com/kamailio/kamailio/commit/a52859a6ed8c1ea2590e51e0c20d1f2553da1ec9.patch
---
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;
More information about the sr-dev
mailing list