summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal/Ebc
diff options
context:
space:
mode:
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-17 16:31:52 +0000
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-17 16:31:52 +0000
commit5585935d0997020411b35de7dc0759b92a4003ec (patch)
tree6fa35022cef46af6d63023e2998dd6a9049747e4 /EdkModulePkg/Universal/Ebc
parent8b7ba927a6c9b01bf59e06366c50f92d6c5dc089 (diff)
downloadedk2-platforms-5585935d0997020411b35de7dc0759b92a4003ec.tar.xz
Fix a compiler warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1967 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Universal/Ebc')
-rw-r--r--EdkModulePkg/Universal/Ebc/Dxe/x64/EbcSupport.c6
1 files changed, 3 insertions, 3 deletions
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;