public inbox for cygwin-developers@cygwin.com
 help / color / mirror / Atom feed
* [COMMITTED 64bit] missing parenthesis in stdint.h
@ 2013-04-22  2:56 Yaakov
  2013-04-22  9:02 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Yaakov @ 2013-04-22  2:56 UTC (permalink / raw)
  To: cygwin-developers

[-- 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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [COMMITTED 64bit] missing parenthesis in stdint.h
  2013-04-22  2:56 [COMMITTED 64bit] missing parenthesis in stdint.h Yaakov
@ 2013-04-22  9:02 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2013-04-22  9:02 UTC (permalink / raw)
  To: cygwin-developers

On Apr 21 21:56, Yaakov wrote:
> 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)

Thanks!


Corinna

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-22  9:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-22  2:56 [COMMITTED 64bit] missing parenthesis in stdint.h Yaakov
2013-04-22  9:02 ` Corinna Vinschen

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).