From 3dfc6d580735c23c338e7a7c8886c7566b1ab103 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Mon, 2 Nov 2020 16:07:11 +0800 Subject: [PATCH] Fix --- nel/src/misc/utf_string_view.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nel/src/misc/utf_string_view.cpp b/nel/src/misc/utf_string_view.cpp index 5fedc5328..39bf3b92f 100644 --- a/nel/src/misc/utf_string_view.cpp +++ b/nel/src/misc/utf_string_view.cpp @@ -76,7 +76,7 @@ void CUtfStringView::append(IStream &s, u32char c) std::string tmp; tmp.reserve(4); append(tmp, c); - s.serialBuffer((uint8_t *)&tmp[0], tmp.size()); + s.serialBuffer((uint8 *)&tmp[0], tmp.size()); } u32char CUtfStringView::get(IStream &s) @@ -85,7 +85,7 @@ u32char CUtfStringView::get(IStream &s) std::string tmp; tmp.reserve(4); - uint8_t c; + uint8 c; s.serial(c); // Single byte @@ -101,7 +101,7 @@ u32char CUtfStringView::get(IStream &s) // Read from stream tmp.resize(len); - s.serialBuffer((uint8_t *)&tmp[1], len - 1); + s.serialBuffer((uint8 *)&tmp[1], len - 1); // Decode const void *str = tmp.c_str();