public inbox for cygwin-developers@cygwin.com
 help / color / mirror / Atom feed
From: Yaakov (Cygwin/X) <yselkowitz@users.sourceforge.net>
To: cygwin-developers@cygwin.com
Subject: [COMMITTED 64bit] missing parenthesis in stdint.h
Date: Mon, 22 Apr 2013 02:56:00 -0000	[thread overview]
Message-ID: <20130421215650.1dcb8b1e@YAAKOV04> (raw)

[-- Attachment #1: Type: text/plain, Size: 52 bytes --]

I committed the attached patch as obvious.


Yaakov

[-- Attachment #2: stdint.h.patch --]
[-- Type: text/x-patch, Size: 750 bytes --]

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)

             reply	other threads:[~2013-04-22  2:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-22  2:56 Yaakov [this message]
2013-04-22  9:02 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130421215650.1dcb8b1e@YAAKOV04 \
    --to=yselkowitz@users.sourceforge.net \
    --cc=cygwin-developers@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).