X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Nt32Pkg%2FStallPei%2FStall.c;h=c00ada872d3105be1f308494c31681cce66dea54;hp=e89338dcdfc2cc300314c3b07b827c65990c0f46;hb=f66a43b26e6e0f4c1e5871dd3a88f2970b3abf87;hpb=09acdc0b24ac50f8623609d67ccc52a785b4fe57 diff --git a/Nt32Pkg/StallPei/Stall.c b/Nt32Pkg/StallPei/Stall.c index e89338dcdf..c00ada872d 100644 --- a/Nt32Pkg/StallPei/Stall.c +++ b/Nt32Pkg/StallPei/Stall.c @@ -1,7 +1,7 @@ /**@file EFI_PEI_STALL implementation for NT32 simulation environment. -Copyright (c) 2009, Intel Corporation. All rights reserved.
+Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -100,7 +100,7 @@ Stall ( // so micro second units need be divided by 1000 to convert to ms // NtThunk = (EFI_WIN_NT_THUNK_PROTOCOL*) PeiNtService->NtThunk(); - NtThunk->Sleep ((Microseconds + 999) / 1000); + NtThunk->Sleep ((DWORD)((Microseconds + 999) / 1000)); return EFI_SUCCESS; }