summaryrefslogtreecommitdiff
path: root/lib/libc/inttypes/strtoimax.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/inttypes/strtoimax.c')
-rw-r--r--lib/libc/inttypes/strtoimax.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/inttypes/strtoimax.c b/lib/libc/inttypes/strtoimax.c
index a8f0820b..ac1847b1 100644
--- a/lib/libc/inttypes/strtoimax.c
+++ b/lib/libc/inttypes/strtoimax.c
@@ -75,8 +75,7 @@ intmax_t strtoimax(const char *nptr, char **endptr, int base)
if (c == '+')
c = *s++;
}
- if ((base == 0 || base == 16) && c == '0' && (*s == 'x' || *s == 'X') &&
- isxdigit((unsigned char)s[1])) {
+ if ((base == 0 || base == 16) && c == '0' && (*s == 'x' || *s == 'X') && isxdigit((unsigned char)s[1])) {
c = s[1];
s += 2;
base = 16;