aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-05-10 21:36:00 +0200
committerMattias Andrée <maandree@kth.se>2017-05-10 21:37:20 +0200
commitc22007cc4be9b731d97006b983538388c4b36033 (patch)
treebabca238e7be3fbc111d62318e1f919107a37e2b /src/util.h
parentCleaner code (diff)
downloadblind-c22007cc4be9b731d97006b983538388c4b36033.tar.gz
blind-c22007cc4be9b731d97006b983538388c4b36033.tar.bz2
blind-c22007cc4be9b731d97006b983538388c4b36033.tar.xz
Fix warnings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 24fc2c4..4f94a88 100644
--- a/src/util.h
+++ b/src/util.h
@@ -6,7 +6,7 @@
#define MAX(A, B) ((A) > (B) ? (A) : (B))
#define CLIP(A, B, C) ((B) < (A) ? (A) : (B) > (C) ? (C) : (B))
#define STRLEN(STR) (sizeof(STR) - 1)
-#define INTSTRLEN(TYPE) ((sizeof(TYPE) == 1 ? 3 : (5 * sizeof(TYPE) / 2)) + ((TYPE)-1 < 0))
+#define INTSTRLEN(TYPE) ((sizeof(TYPE) == 1 ? 3 : (5 * sizeof(TYPE) / 2)) + ((TYPE)-1 < 1))
#define USAGE(SYNOPSIS)\
static void usage(void)\