mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
LibACPI: Ensure reading QWordData compiles correctly
Later when finish_operand starts taking Object&& the compiler gets confused and required this to be cast to u64 explicitly.
This commit is contained in:
1 parent
7d522782c2
commit
b408275768
1 file changed
+1
-1
@@ -347,7 +347,7 @@ ErrorOr<IterationDecision> Interpreter::read_operand(TableStream& stream, Operan
|
||||
case OperandType::QWordData: {
|
||||
auto value = TRY(stream.read_value<u64>());
|
||||
DEBUG_LOG("Reading qword... ({})", value);
|
||||
TRY(top_opcode_frame.finish_operand(value, stream.offset()));
|
||||
TRY(top_opcode_frame.finish_operand(static_cast<u64>(value), stream.offset()));
|
||||
return IterationDecision::Continue;
|
||||
}
|
||||
case OperandType::String: {
|
||||
|
||||
Reference in new issue
Block a user