summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/_store_inttype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/_store_inttype.c b/libc/stdio/_store_inttype.c
index 6eb74fe86..fdd4dce05 100644
--- a/libc/stdio/_store_inttype.c
+++ b/libc/stdio/_store_inttype.c
@@ -35,7 +35,7 @@ void _store_inttype(register void *dest, int desttype, uintmax_t val)
*((unsigned char *) dest) = val;
return;
}
-#if defined(LLONG_MAX) && (LONG_MAX != LLONG_MAX)
+#if defined(LLONG_MAX) && (INT_MAX != LLONG_MAX)
if (desttype == PA_FLAG_LONG_LONG) {
*((unsigned long long int *) dest) = val;
return;