Module: kamailio
Branch: master
Commit: f6fc513ad968c40d1c990024c4985fa285ba93b6
URL:
https://github.com/kamailio/kamailio/commit/f6fc513ad968c40d1c990024c4985fa…
Author: Mikko Lehto <mslehto(a)iki.fi>
Committer: Mikko Lehto <mslehto(a)iki.fi>
Date: 2015-06-09T12:24:48+03:00
modules/call_control: change type to fix clang compiler warning
call_control.c:503:19: warning: implicit conversion from 'hdr_flags_t' (aka
'unsigned long long') to 'int' changes value from 18446744073709551615 to
-1 [-Wconstant-conversion]
---
Modified: modules/call_control/call_control.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f6fc513ad968c40d1c990024c4985fa…
Patch:
https://github.com/kamailio/kamailio/commit/f6fc513ad968c40d1c990024c4985fa…
---
diff --git a/modules/call_control/call_control.c b/modules/call_control/call_control.c
index 1bd6fcc..4f2e53d 100644
--- a/modules/call_control/call_control.c
+++ b/modules/call_control/call_control.c
@@ -490,7 +490,7 @@ static CallInfo*
get_call_info(struct sip_msg *msg, CallControlAction action)
{
static CallInfo call_info;
- int headers;
+ hdr_flags_t headers;
memset(&call_info, 0, sizeof(struct CallInfo));