We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35f9fba commit 4390f04Copy full SHA for 4390f04
aml/src/expression.rs
@@ -812,6 +812,9 @@ where
812
AmlValue::Buffer(data) => {
813
AmlValue::Integer(try_with_context!(context, AmlValue::Buffer(data).as_integer(context)))
814
}
815
+ AmlValue::Field { .. } => {
816
+ AmlValue::Integer(try_with_context!(context, operand.as_integer(context)))
817
+ }
818
AmlValue::String(string) => AmlValue::Integer(try_with_context!(
819
context,
820
if string.starts_with("0x") {
0 commit comments