Explorar o código

fix from Roman Kononov for reading in of 64bit types

Mike Frysinger %!s(int64=19) %!d(string=hai) anos
pai
achega
544bc399b7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;