summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/memchr.c2
-rw-r--r--lib/xstrtol.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/memchr.c b/lib/memchr.c
index 71b1ab5f6..57f99735f 100644
--- a/lib/memchr.c
+++ b/lib/memchr.c
@@ -100,7 +100,7 @@ memchr (s, c, n)
charmask = c | (c << 8);
charmask |= charmask << 16;
#if LONG_MAX > LONG_MAX_32_BITS
- charmask |= charmask << 32;
+ charmask |= charmask << 32;
#endif
/* Instead of the traditional loop which tests each character,
diff --git a/lib/xstrtol.h b/lib/xstrtol.h
index bebeca3b6..fd0c97f63 100644
--- a/lib/xstrtol.h
+++ b/lib/xstrtol.h
@@ -49,6 +49,7 @@ strtol_error
break; \
\
case LONGINT_OVERFLOW: \
+ /* FIXME: make this message dependent on STRING_TO_UNSIGNED */\
error ((exit_code), 0, "%s `%s' larger than maximum long int",\
(argument_type_string), (str)); \
break; \