Module: kamailio
Branch: 5.5
Commit: 4814bac2424db7fea2ba817fcdf4594a7b2e1c11
URL:
https://github.com/kamailio/kamailio/commit/4814bac2424db7fea2ba817fcdf4594…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-12-16T08:24:43+01:00
nat_traversal: declare flag literal as unsigned
- GH #2954
(cherry picked from commit 8c30109df0b479cc3fce39a765717149e9c70ddf)
---
Modified: src/modules/nat_traversal/nat_traversal.c
---
Diff:
https://github.com/kamailio/kamailio/commit/4814bac2424db7fea2ba817fcdf4594…
Patch:
https://github.com/kamailio/kamailio/commit/4814bac2424db7fea2ba817fcdf4594…
---
diff --git a/src/modules/nat_traversal/nat_traversal.c
b/src/modules/nat_traversal/nat_traversal.c
index 4cfe8d4018..fd5fac5b5e 100644
--- a/src/modules/nat_traversal/nat_traversal.c
+++ b/src/modules/nat_traversal/nat_traversal.c
@@ -85,7 +85,7 @@ MODULE_VERSION
/* WARNING: Keep this aligned with parser/msg_parser.h! */
-#define FL_DO_KEEPALIVE (1 << 31)
+#define FL_DO_KEEPALIVE (1u << 31)
#define HASH_SIZE 512