From: Arun Prakash Jana Date: Sat, 10 Dec 2022 16:05:56 +0000 (+0530) Subject: Fix signed and unsigned comparison X-Git-Tag: v4.8~65 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=b6bfc740cef320226b1ebac26d010cc1befcaa7e;p=nnn.git Fix signed and unsigned comparison --- 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)