BaseTools: Fix VOID* type bug

Code miss UINT32 and UINT64 value type setting in
VOID*, like as {UINT32({TRUE})}

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
Feng, YunhuaX 2018-02-09 12:31:10 +08:00 committed by Yonghong Zhu
parent 6791175f05
commit a35918caae
1 changed files with 2 additions and 0 deletions

View File

@ -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: