Przeglądaj źródła

nat_traversal: declare flag literal as unsigned

- GH #2954
Daniel-Constantin Mierla 3 lat temu
rodzic
commit
8c30109df0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/modules/nat_traversal/nat_traversal.c

+ 1 - 1
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