[cfe-commits] r64011 - /cfe/trunk/lib/Headers/stdint.h

Chris Lattner sabre at nondot.org
Sat Feb 7 00:49:38 PST 2009


Author: lattner
Date: Sat Feb  7 02:49:37 2009
New Revision: 64011

URL: http://llvm.org/viewvc/llvm-project?rev=64011&view=rev
Log:
remove two eroneous suffixes, these promote to int.  Thanks to Neil
for pointing this out.

Modified:
    cfe/trunk/lib/Headers/stdint.h

Modified: cfe/trunk/lib/Headers/stdint.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/stdint.h?rev=64011&r1=64010&r2=64011&view=diff

==============================================================================
--- cfe/trunk/lib/Headers/stdint.h (original)
+++ cfe/trunk/lib/Headers/stdint.h Sat Feb  7 02:49:37 2009
@@ -106,7 +106,7 @@
 
 #define INT8_MAX    127
 #define INT8_MIN  (-128)
-#define UINT8_MAX   255U
+#define UINT8_MAX   255
 #define INT_LEAST8_MIN   INT8_MIN
 #define INT_LEAST8_MAX   INT8_MAX
 #define UINT_LEAST8_MAX UINT8_MAX
@@ -116,7 +116,7 @@
 
 #define INT16_MAX    32767
 #define INT16_MIN  (-32768)
-#define UINT16_MAX   65535U
+#define UINT16_MAX   65535
 #define INT_LEAST16_MIN   INT16_MIN
 #define INT_LEAST16_MAX   INT16_MAX
 #define UINT_LEAST16_MAX UINT16_MAX





More information about the cfe-commits mailing list