Browse Source

fix from Roman Kononov for reading in of 64bit types

Mike Frysinger 18 years ago
parent
commit
544bc399b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/stdio/_store_inttype.c

+ 1 - 1
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;