From b6bfc740cef320226b1ebac26d010cc1befcaa7e Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 10 Dec 2022 21:35:56 +0530 Subject: [PATCH] Fix signed and unsigned comparison --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index 94115b1f..9fe4aced 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -195,7 +195,7 @@ #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)