[COMMITTED 64bit] missing parenthesis in stdint.h

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Apr 22 09:02:00 GMT 2013


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



More information about the Cygwin-developers mailing list