]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix signed and unsigned comparison
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 10 Dec 2022 16:05:56 +0000 (21:35 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 10 Dec 2022 16:09:44 +0000 (21:39 +0530)
src/nnn.c

index 94115b1fc55bc22b766887492d04bc2d32e02896..9fe4acede9b9eb2d8a7aba1dd5fb2414f9914d20 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
 #define LIST_INPUT_MAX  ((size_t)LIST_FILES_MAX * PATH_MAX)
 #define SCROLLOFF       3
 #define COLOR_256       256
-#define CREATE_NEW_KEY  0xFFFFFFFF
+#define CREATE_NEW_KEY  (-1)
 
 /* Time intervals */
 #define DBLCLK_INTERVAL_NS (400000000)