]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Common/Expression.py
BaseTools: Structure Pcd in CommandLine.
[mirror_edk2.git] / BaseTools / Source / Python / Common / Expression.py
index 486c537029571bd04c0d2cbac8e3633bcf65e44d..b8c48460ff6dc91868cf8d58748ec4fce1b6f085 100644 (file)
@@ -791,7 +791,7 @@ class ValueExpressionEx(ValueExpression):
                     raise BadExpression('Type %s PCD Value Size is Larger than 4 byte' % self.PcdType)\r
                 if self.PcdType == 'UINT64' and Size > 8:\r
                     raise BadExpression('Type %s PCD Value Size is Larger than 8 byte' % self.PcdType)\r
-            if self.PcdType in ['VOID*']:\r
+            else:\r
                 try:\r
                     TmpValue = long(PcdValue)\r
                     TmpList = []\r