This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bug in stdint.h


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Found a typo in /usr/include/stdint.h:

2005-05-23  Eric Blake  <ebb9@byu.net>

	* include/stdint.h (INTMAX_C, UINTMAX_C): Fix definition.

Index: include/stdint.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/stdint.h,v
retrieving revision 1.5
diff -u -p -r1.5 stdint.h
- --- include/stdint.h    29 Oct 2003 08:43:10 -0000      1.5
+++ include/stdint.h    23 May 2005 11:58:49 -0000
@@ -176,7 +176,7 @@ typedef unsigned long long uintmax_t;

 /* Macros for greatest-width integer constant expressions */

- -#define INTMAX_C(x) x ## L
- -#define UINTMAX_C(x) x ## UL
+#define INTMAX_C(x) x ## LL
+#define UINTMAX_C(x) x ## ULL

 #endif /* _STDINT_H */

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCkcWm84KuGfSFAYARAkouAJ92IO6+m9chFepjeWBOFSwVgOvx+ACgr5z4
7h8RS3a0K2PdAgP4OUfj4Tk=
=rZ9K
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]