Discussion:
[COMMITTED 64bit] missing parenthesis in stdint.h
Yaakov (Cygwin/X)
2013-04-22 02:56:50 UTC
Permalink
I committed the attached patch as obvious.


Yaakov
Corinna Vinschen
2013-04-22 09:02:11 UTC
Permalink
Post by Yaakov (Cygwin/X)
I committed the attached patch as obvious.
Yaakov
* 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)
Thanks!


Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
Loading...