summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-29 04:04:19 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-29 04:04:19 +0000
commit544bc399b709274d40839f2ed7d16db1fc8edb37 (patch)
tree7189fd799c8392907be5a45ba15ec7e8a2a81eb7 /libc/stdio
parent5736809f5b97d8eed29d15d75ab154cb92ece4d0 (diff)
fix from Roman Kononov for reading in of 64bit types
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;