From 544bc399b709274d40839f2ed7d16db1fc8edb37 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 29 Jan 2007 04:04:19 +0000 Subject: fix from Roman Kononov for reading in of 64bit types --- libc/stdio/_store_inttype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/stdio') 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; -- cgit v1.2.3