From 4c76b275907cf2d764f3fc51468d1c58635a10c1 Mon Sep 17 00:00:00 2001 From: Theresa Foley <10618364+tangent-vector@users.noreply.github.com> Date: Mon, 12 May 2025 10:28:05 -0700 Subject: Cleanups related to RIFF support (#7041) --- source/core/slang-char-encode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/core/slang-char-encode.h') diff --git a/source/core/slang-char-encode.h b/source/core/slang-char-encode.h index 74968a6ab..2ba8ba992 100644 --- a/source/core/slang-char-encode.h +++ b/source/core/slang-char-encode.h @@ -21,7 +21,7 @@ template Char32 getUnicodePointFromUTF8(const ReadByteFunc& readByte) { Char32 codePoint = 0; - uint32_t leading = Byte(readByte()); + uint32_t leading = uint32_t(readByte()); uint32_t mask = 0x80; Index count = 0; while (leading & mask) -- cgit v1.2.3