]> Savannah Git Hosting - gnulib.git/commitdiff
xstrtol: actually copy the intprops.h line
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 11 Sep 2018 19:42:31 +0000 (12:42 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 11 Sep 2018 19:42:49 +0000 (12:42 -0700)
lib/xstrtol.c

index efc22afc344efb8f86bd51ccec45918e6c3d90bd..e5bfd7e0f35cb1644a0e4b444b1eaa5b667bce44 100644 (file)
@@ -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)