Module: sip-router
Branch: kamailio_3.0
Commit: f9b3beab6c5066ef18ad4d0a347b7410e2c8c240
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f9b3bea…
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
(cherry picked from commit c0e9cb82abe293937e5b95fa1347afdc118d9ac2)
---
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 0c56211..aa19ed0 100644
--- a/parser/msg_parser.c
+++ b/parser/msg_parser.c
@@ -336,7 +336,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?*/