]> git.sur5r.net Git - cc65/blobdiff - include/stdint.h
The 128+x character codes were very likely intended to be interpreted by cputs and...
[cc65] / include / stdint.h
index 0de29f0cec2534cb54813d751c8816a8208a6327..0053a9bbade50e2339eb5a85588e62dc0cbff134 100644 (file)
@@ -33,7 +33,7 @@
 
 
 
-/* Note: This file is not fully ISO 9899-1999 compatible because cc65 lacks
+/* Note: This file is not fully ISO 9899-1999 compliant because cc65 lacks
  * a 64 bit data types. The declarations have been adjusted accordingly.
  */
 
@@ -115,14 +115,14 @@ typedef unsigned long       uintmax_t;
 #define UINTMAX_MAX         ((uintmax_t) 0xFFFFFFFF)
 
 /* Limits of other integer types */
-#define PTRDIFF_MIN         ((ptrdiff_t) 0x8000)
-#define PTRDIFF_MAX         ((ptrdiff_t) 0x7FFF)
+#define PTRDIFF_MIN         ((int) 0x8000)
+#define PTRDIFF_MAX         ((int) 0x7FFF)
 
 #define SIG_ATOMIC_MIN      ((unsigned char) 0x00)
 #define SIG_ATOMIC_MAX      ((unsigned char) 0xFF)
 
 #define SIZE_MAX            0xFFFF
-                            
+
 /* Macros for minimum width integer constants */
 #define INT8_C(c)           c
 #define INT16_C(c)          c