aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2013-04-22 02:22:34 +0000
committerYaakov Selkowitz <yselkowi@redhat.com>2013-04-22 02:22:34 +0000
commit572e837d6cdd7176ccac5cad99c6ec8781c5320f (patch)
tree4d7a3f8f73f316c5c7f6661c82eb241fa4c937ab
parent8504be2fbe2ddb0295d54f945ebb0cb4b6ed1e2e (diff)
downloadnewlib-572e837d6cdd7176ccac5cad99c6ec8781c5320f.zip
newlib-572e837d6cdd7176ccac5cad99c6ec8781c5320f.tar.gz
newlib-572e837d6cdd7176ccac5cad99c6ec8781c5320f.tar.bz2
* include/stdint.h (INTPTR_MAX): Fix missing parenthesis.
-rw-r--r--winsup/cygwin/ChangeLog.64bit4
-rw-r--r--winsup/cygwin/include/stdint.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog.64bit b/winsup/cygwin/ChangeLog.64bit
index 132c951..3d91c9a 100644
--- a/winsup/cygwin/ChangeLog.64bit
+++ b/winsup/cygwin/ChangeLog.64bit
@@ -1,3 +1,7 @@
+2013-04-21 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
+
+ * include/stdint.h (INTPTR_MAX): Fix missing parenthesis.
+
2013-04-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler_tty.cc (fhandler_pty_slave::write): Change type of towrite to
diff --git a/winsup/cygwin/include/stdint.h b/winsup/cygwin/include/stdint.h
index 2ec412e..b670884 100644
--- a/winsup/cygwin/include/stdint.h
+++ b/winsup/cygwin/include/stdint.h
@@ -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)