From: bbahnsen Date: Fri, 17 Nov 2006 16:31:52 +0000 (+0000) Subject: Fix a compiler warning. X-Git-Tag: edk2-stable201903~23910 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=5585935d0997020411b35de7dc0759b92a4003ec Fix a compiler warning. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1967 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/EdkModulePkg/Universal/Ebc/Dxe/x64/EbcSupport.c b/EdkModulePkg/Universal/Ebc/Dxe/x64/EbcSupport.c index d111f3c0bf..0b0e171eb3 100644 --- a/EdkModulePkg/Universal/Ebc/Dxe/x64/EbcSupport.c +++ b/EdkModulePkg/Universal/Ebc/Dxe/x64/EbcSupport.c @@ -158,7 +158,7 @@ Returns: // The x64 does not do this so pad the stack accordingly. // PushU64 (&VmContext, (UINT64) 0); - PushU64 (&VmContext, (UINT64) 0x1234567887654321); + PushU64 (&VmContext, (UINT64) 0x1234567887654321ULL); // // For x64, this is where we say our return address is @@ -276,7 +276,7 @@ Returns: // VM pushes 16-bytes for return address. Simulate that here. // PushU64 (&VmContext, (UINT64) 0); - PushU64 (&VmContext, (UINT64) 0x1234567887654321); + PushU64 (&VmContext, (UINT64) 0x1234567887654321ULL); // // For x64, this is where we say our return address is @@ -373,7 +373,7 @@ Returns: *Ptr = 0xB8; Ptr++; Size--; - Addr = (UINT64) 0xCA112EBCCA112EBC; + Addr = (UINT64) 0xCA112EBCCA112EBCULL; for (I = 0; I < sizeof (Addr); I++) { *Ptr = (UINT8) (UINTN) Addr; Addr >>= 8;