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

Daniel-Constantin Mierla miconda at gmail.com
Sat Apr 13 15:46:22 CEST 2013


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

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
(cherry picked from commit 7339d847adfd098c58426e96e5e3730ad580d543)

---

 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