[sr-dev] [kamailio] modules/nat_traversal: avoid clang warnings with cast to (enum _hdr_types_t) (#196)

Mikko Lehto notifications at github.com
Tue Jun 9 12:34:45 CEST 2015


nat_traversal.c:1477:54: warning: implicit conversion from 'hdr_flags_t' (aka 'unsigned long long') to 'enum _hdr_types_t' changes value from 18446744073709551615 to -1 [-Wconstant-conversion]
nat_traversal.c:1487:49: warning: implicit conversion from 'hdr_flags_t' (aka 'unsigned long long') to 'enum _hdr_types_t' changes value from 18446744073709551615 to -1 [-Wconstant-conversion]
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/196

-- Commit Summary --

  * modules/nat_traversal: avoid clang warnings with cast to (enum _hdr_types_t)

-- File Changes --

    M modules/nat_traversal/nat_traversal.c (4)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/196.patch
https://github.com/kamailio/kamailio/pull/196.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/196
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150609/2bf48849/attachment.html>


More information about the sr-dev mailing list