浏览代码

fix from Roman Kononov for reading in of 64bit types

Mike Frysinger 18 年之前
父节点
当前提交
544bc399b7
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;