Module: sip-router
Branch: master
Commit: c0e9cb82abe293937e5b95fa1347afdc118d9ac2
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c0e9cb8…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Fri Feb 26 15:21:50 2010 +0100
core: msg_parse minor 64bit warning fix
---
parser/msg_parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/parser/msg_parser.c b/parser/msg_parser.c
index ab90137..97378c7 100644
--- a/parser/msg_parser.c
+++ b/parser/msg_parser.c
@@ -348,7 +348,7 @@ int parse_headers(struct sip_msg* msg, hdr_flags_t flags, int next)
switch (hf->type){
case HDR_ERROR_T:
LOG(L_INFO,"ERROR: bad header field [%.*s]\n",
- (end-tmp>20)?20:(end-tmp), tmp);
+ (end-tmp>20)?20:(int)(end-tmp), tmp);
goto error;
case HDR_EOH_T:
msg->eoh=tmp; /* or rest?*/