]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/AutoGen/ValidCheckingInfoObject.py
BaseTools: move PCD size calculation functions to PcdClassObject
[mirror_edk2.git] / BaseTools / Source / Python / AutoGen / ValidCheckingInfoObject.py
index dd78dc5200758a4603d435e7076e70d6c2174783..2f8f4fac23f8c59ac9b2392ac172e1d0f80ef4d9 100644 (file)
@@ -253,7 +253,7 @@ class VAR_CHECK_PCD_VALID_OBJ(object):
 \r
     def updateStorageWidth(self):\r
         try:\r
-            self.StorageWidth = int(MAX_SIZE_TYPE[self.PcdDataType])\r
+            self.StorageWidth = MAX_SIZE_TYPE[self.PcdDataType]\r
         except:\r
             self.StorageWidth = 0\r
             self.ValidData = False\r