This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: [COMMITTED 64bit] missing parenthesis in stdint.h
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-developers at cygwin dot com
- Date: Mon, 22 Apr 2013 11:02:11 +0200
- Subject: Re: [COMMITTED 64bit] missing parenthesis in stdint.h
- References: <20130421215650 dot 1dcb8b1e at YAAKOV04>
- Reply-to: cygwin-developers at cygwin dot com
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