Module: kamailio
Branch: master
Commit: 8c30109df0b479cc3fce39a765717149e9c70ddf
URL:
https://github.com/kamailio/kamailio/commit/8c30109df0b479cc3fce39a76571714…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-11-29T11:25:08+01:00
nat_traversal: declare flag literal as unsigned
- GH #2954
---
Modified: src/modules/nat_traversal/nat_traversal.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8c30109df0b479cc3fce39a76571714…
Patch:
https://github.com/kamailio/kamailio/commit/8c30109df0b479cc3fce39a76571714…
---
diff --git a/src/modules/nat_traversal/nat_traversal.c
b/src/modules/nat_traversal/nat_traversal.c
index edaa6dfe3d..58d1b78c70 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