1 Index: acpica-unix2-20220331/source/compiler/aslparseop.c
2 ===================================================================
3 --- acpica-unix2-20220331.orig/source/compiler/aslparseop.c
4 +++ acpica-unix2-20220331/source/compiler/aslparseop.c
5 @@ -285,7 +285,16 @@ TrCreateValuedLeafOp (
8 Op = TrAllocateOp (ParseOpcode);
9 - Op->Asl.Value.Integer = Value;
10 + if (ParseOpcode == PARSEOP_NAMESTRING ||
11 + ParseOpcode == PARSEOP_NAMESEG ||
12 + ParseOpcode == PARSEOP_STRING_LITERAL)
14 + Op->Asl.Value.String = (char *) Value;
18 + Op->Asl.Value.Integer = Value;
21 DbgPrint (ASL_PARSE_OUTPUT,
22 "\nCreateValuedLeafOp Ln/Col %u/%u NewOp %p "