aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-22 04:28:27 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-22 04:28:27 +0530
commit0f03b41995bb614c03539b5a04647742b51c458a (patch)
treef92c176d50026416209e6b9e2cbe6ba0e26136fc
parentb816a902564b43f9a2476e0ddbf549f746daf743 (diff)
downloadnnn-0f03b41995bb614c03539b5a04647742b51c458a.tar.gz
Fix build break
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 41f1fcf..e8b5209 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -645,7 +645,7 @@ static haiku_nm_h haiku_hnd;
/* A faster version of xisdigit */
#define xisdigit(c) ((unsigned int) (c) - '0' <= 9)
#define xerror() perror(xitoa(__LINE__))
-#define xconfirm(c) (c == 'y' || c == 'Y')
+#define xconfirm(c) ((c) == 'y' || (c) == 'Y')
#ifdef __GNUC__
#define UNUSED(x) UNUSED_##x __attribute__((__unused__))