Module: sip-router
Branch: sr_3.0
Commit: e97e93b812872b0d160e9b999ac24f83fa48f118
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e97e93b…
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 41bb841..d4ab470 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?*/