summaryrefslogtreecommitdiff
path: root/Libraries/LibRegex/RegexParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibRegex/RegexParser.cpp')
-rw-r--r--Libraries/LibRegex/RegexParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibRegex/RegexParser.cpp b/Libraries/LibRegex/RegexParser.cpp
index 5d44c117d7..c97427a18c 100644
--- a/Libraries/LibRegex/RegexParser.cpp
+++ b/Libraries/LibRegex/RegexParser.cpp
@@ -365,7 +365,7 @@ ALWAYS_INLINE bool PosixExtendedParser::parse_bracket_expression(ByteCode& stack
values.take_last(); // RangeExpressionDummy
auto value1 = values.take_last();
- values.append({ CharacterCompareType::CharRange, static_cast<ByteCodeValueType>(CharRange { (char)value1.value, (char)value2.value }) });
+ values.append({ CharacterCompareType::CharRange, static_cast<ByteCodeValueType>(CharRange { (u32)value1.value, (u32)value2.value }) });
}
}