This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
[COMMITTED 64bit] missing parenthesis in stdint.h
- From: Yaakov (Cygwin/X) <yselkowitz at users dot sourceforge dot net>
- To: cygwin-developers at cygwin dot com
- Date: Sun, 21 Apr 2013 21:56:50 -0500
- Subject: [COMMITTED 64bit] missing parenthesis in stdint.h
I committed the attached patch as obvious.
Yaakov
2013-04-21 Yaakov Selkowitz <yselkowitz@...>
* include/stdint.h (INTPTR_MAX): Fix missing parenthesis.
Index: include/stdint.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/stdint.h,v
retrieving revision 1.14.2.2
diff -u -p -r1.14.2.2 stdint.h
--- include/stdint.h 21 Jan 2013 13:52:13 -0000 1.14.2.2
+++ include/stdint.h 22 Apr 2013 02:21:43 -0000
@@ -192,7 +192,7 @@ typedef unsigned long long uintmax_t;
#if __WORDSIZE == 64
#define INTPTR_MIN (-__I64(9223372036854775807) - 1)
-#define INTPTR_MAX (__I64(9223372036854775807)
+#define INTPTR_MAX (__I64(9223372036854775807))
#define UINTPTR_MAX (__U64(18446744073709551615))
#else
#define INTPTR_MIN (-2147483647 - 1)