summaryrefslogtreecommitdiff
path: root/lib/xstrtol.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-09-11 12:42:31 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-09-11 12:42:49 -0700
commit8e827467047e6758fa9038c99699bb1216a20fdd (patch)
treec023ec64081d2b19b168c42589399f2c6fdeff9b /lib/xstrtol.c
parent2f799e514562f109d374af187ae67f005fdd421d (diff)
downloadgnulib-8e827467047e6758fa9038c99699bb1216a20fdd.tar.gz
xstrtol: actually copy the intprops.h line
Diffstat (limited to 'lib/xstrtol.c')
-rw-r--r--lib/xstrtol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xstrtol.c b/lib/xstrtol.c
index efc22afc34..e5bfd7e0f3 100644
--- a/lib/xstrtol.c
+++ b/lib/xstrtol.c
@@ -42,7 +42,7 @@
#include "assure.h"
-#define TYPE_SIGNED(t) ((t) -1 < 0)
+#define TYPE_SIGNED(t) (! ((t) 0 < (t) -1))
static strtol_error
bkm_scale (__strtol_t *x, int scale_factor)