[sr-dev] git:master: modules:carrierroute fixed small compiler warning

Marius Zbihlei marius.zbihlei at 1and1.ro
Tue Apr 10 16:22:26 CEST 2012


Module: sip-router
Branch: master
Commit: cc1cc78b470152d2c1231a75040b249c1b4493a4
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cc1cc78b470152d2c1231a75040b249c1b4493a4

Author: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Date:   Mon Apr  9 11:52:18 2012 +0300

modules:carrierroute fixed small compiler warning

---

 modules/carrierroute/cr_func.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/carrierroute/cr_func.c b/modules/carrierroute/cr_func.c
index 1006228..2b9a85f 100644
--- a/modules/carrierroute/cr_func.c
+++ b/modules/carrierroute/cr_func.c
@@ -319,7 +319,7 @@ static int actually_rewrite(const struct route_rule *rs, str *dest,
 		len += SIP_URI.len;
 	}
 	if ( len > MAX_URI_SIZE ) {
-		LM_ERR("Calculated uri size too large: %d\n", len);
+		LM_ERR("Calculated uri size too large: %lu\n", (unsigned long)len);
 		return -1;
 	}
 




More information about the sr-dev mailing list