UINT8 *BitMask;\r
UINT8 *BitValue;\r
UINTN Duration;\r
- UINTN 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