From a35918caae4d0b9bb51d0d4765117d7ca9a4d641 Mon Sep 17 00:00:00 2001 From: "Feng, YunhuaX" Date: Fri, 9 Feb 2018 12:31:10 +0800 Subject: BaseTools: Fix VOID* type bug Code miss UINT32 and UINT64 value type setting in VOID*, like as {UINT32({TRUE})} Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yunhua Feng Reviewed-by: Yonghong Zhu --- BaseTools/Source/Python/Common/Expression.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'BaseTools/Source/Python/Common/Expression.py') diff --git a/BaseTools/Source/Python/Common/Expression.py b/BaseTools/Source/Python/Common/Expression.py index a19f35d991..74d1b08f76 100644 --- a/BaseTools/Source/Python/Common/Expression.py +++ b/BaseTools/Source/Python/Common/Expression.py @@ -857,8 +857,10 @@ class ValueExpressionEx(ValueExpression): ValueType = "UINT16" elif Item.startswith('UINT32'): ItemSize = 4 + ValueType = "UINT32" elif Item.startswith('UINT64'): ItemSize = 8 + ValueType = "UINT64" else: ItemSize = 0 if ValueType: -- cgit v1.2.3