]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix a compiler warning.
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 17 Nov 2006 16:31:52 +0000 (16:31 +0000)
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 17 Nov 2006 16:31:52 +0000 (16:31 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1967 6f19259b-4bc3-4df7-8a09-765794883524

EdkModulePkg/Universal/Ebc/Dxe/x64/EbcSupport.c

index d111f3c0bf9bb5e8678bbcf9a0d1e455159a3567..0b0e171eb363d39a0143043eb370a850af5262f4 100644 (file)
@@ -158,7 +158,7 @@ Returns:
   // The x64 does not do this so pad the stack accordingly.\r
   //\r
   PushU64 (&VmContext, (UINT64) 0);\r
-  PushU64 (&VmContext, (UINT64) 0x1234567887654321);\r
+  PushU64 (&VmContext, (UINT64) 0x1234567887654321ULL);\r
 \r
   //\r
   // For x64, this is where we say our return address is\r
@@ -276,7 +276,7 @@ Returns:
   // VM pushes 16-bytes for return address. Simulate that here.\r
   //\r
   PushU64 (&VmContext, (UINT64) 0);\r
-  PushU64 (&VmContext, (UINT64) 0x1234567887654321);\r
+  PushU64 (&VmContext, (UINT64) 0x1234567887654321ULL);\r
 \r
   //\r
   // For x64, this is where we say our return address is\r
@@ -373,7 +373,7 @@ Returns:
   *Ptr = 0xB8;\r
   Ptr++;\r
   Size--;\r
-  Addr = (UINT64) 0xCA112EBCCA112EBC;\r
+  Addr = (UINT64) 0xCA112EBCCA112EBCULL;\r
   for (I = 0; I < sizeof (Addr); I++) {\r
     *Ptr = (UINT8) (UINTN) Addr;\r
     Addr >>= 8;\r