]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c
ShellPkg: Clean up source files
[mirror_edk2.git] / Vlv2TbltDevicePkg / BootScriptSaveDxe / ScriptSave.c
index 55f758c5735305ce0a745c2f95d7fc28728da34d..4c6667df0c61e2eb82d9040d75b93397ad7bf84a 100644 (file)
@@ -251,7 +251,7 @@ BootScriptPciCfg2ReadWrite (
 }\r
 \r
 /**\r
-  Internal function to add smbus excute opcode to the table.\r
+  Internal function to add smbus execute opcode to the table.\r
 \r
   @param  Marker                The variable argument list to get the opcode\r
                                 and associated attributes.\r
@@ -348,14 +348,14 @@ BootScriptMemPoll (
   UINT8                 *BitMask;\r
   UINT8                 *BitValue;\r
   UINTN                Duration;\r
-  UINT               LoopTimes;\r
+  UINT64               LoopTimes;\r
 \r
   Width       = VA_ARG (Marker, S3_BOOT_SCRIPT_LIB_WIDTH);\r
   Address     = VA_ARG (Marker, UINT64);\r
   BitMask     = VA_ARG (Marker, UINT8 *);\r
   BitValue    = VA_ARG (Marker, UINT8 *);\r
   Duration    = (UINTN)VA_ARG (Marker, UINT64);\r
-  LoopTimes   = (UINTN)VA_ARG (Marker, UINT64);\r
+  LoopTimes   = VA_ARG (Marker, UINT64);\r
 \r
   return S3BootScriptSaveMemPoll (Width, Address, BitMask, BitValue, Duration, LoopTimes);\r
 }\r