Browse code

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]
(cherry picked from commit f6fc513ad968c40d1c990024c4985fa285ba93b6)

Mikko Lehto authored on 09/06/2015 09:24:48 • Daniel-Constantin Mierla committed on 10/06/2015 10:27:17
Showing 1 changed files
... ...
@@ -490,7 +490,7 @@ static CallInfo*
490 490
 get_call_info(struct sip_msg *msg, CallControlAction action)
491 491
 {
492 492
     static CallInfo call_info;
493
-    int headers;
493
+    hdr_flags_t headers;
494 494
 
495 495
     memset(&call_info, 0, sizeof(struct CallInfo));
496 496