summaryrefslogtreecommitdiff
path: root/zen/utf.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/utf.h')
-rw-r--r--zen/utf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/utf.h b/zen/utf.h
index 16e543c8..a50466f2 100644
--- a/zen/utf.h
+++ b/zen/utf.h
@@ -53,8 +53,8 @@ size_t findUnicodePos(const UtfString& str, size_t unicodePos); //return positio
//----------------------- implementation ----------------------------------
namespace implementation
{
-typedef std::uint_fast32_t CodePoint; //must be at least four bytes
-typedef std::uint_fast16_t Char16; //we need an unsigned type
+typedef std::uint32_t CodePoint;
+typedef std::uint16_t Char16;
typedef unsigned char Char8;
const CodePoint LEAD_SURROGATE = 0xd800;
bgstack15