]> pd.if.org Git - pdclib/commitdiff
char16_t/char32_t were incorrectly defined as int*_t rather than uint*_t
authorOwen Shepherd <owen.shepherd@e43.eu>
Mon, 7 Jan 2013 15:09:19 +0000 (15:09 +0000)
committerOwen Shepherd <owen.shepherd@e43.eu>
Mon, 7 Jan 2013 15:09:19 +0000 (15:09 +0000)
internals/_PDCLIB_int.h

index 0c48f33755a6c2e728a329a28f4b464bffcd6a44..134123a1862fa650a1bccb0be8bb8186c8f638fd 100644 (file)
@@ -314,8 +314,8 @@ extern char _PDCLIB_Xdigits[];
 /* -------------------------------------------------------------------------- */
 
 #ifndef __cplusplus
-typedef _PDCLIB_int16_t         _PDCLIB_char16_t;
-typedef _PDCLIB_int32_t         _PDCLIB_char32_t;
+typedef _PDCLIB_uint16_t        _PDCLIB_char16_t;
+typedef _PDCLIB_uint32_t        _PDCLIB_char32_t;
 #else
 typedef char16_t                _PDCLIB_char16_t;
 typedef char32_t                _PDCLIB_char32_t;