[sr-dev] git:master: msrp: fix compile warning of argument type in dbg message

Daniel-Constantin Mierla miconda at gmail.com
Sun Mar 24 12:43:18 CET 2013


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Sun Mar 24 12:38:45 2013 +0100

msrp: fix compile warning of argument type in dbg message

- reported by Olle E. Johansson

---

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

diff --git a/modules/msrp/msrp_parser.c b/modules/msrp/msrp_parser.c
index 585d090..d7a2ced 100644
--- a/modules/msrp/msrp_parser.c
+++ b/modules/msrp/msrp_parser.c
@@ -538,7 +538,7 @@ int msrp_parse_uri(char *start, int len, msrp_uri_t *uri)
 
 error:
 	LM_ERR("parsing error in [%.*s] at [%ld]\n",
-			len, start, s - start);
+			len, start, (long int)(s - start));
 	memset(uri, 0, sizeof(msrp_uri_t));
 	return -1;
 }




More information about the sr-dev mailing list