]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/Ebc/Dxe/x64/EbcSupport.c
Fix a compiler warning.
[mirror_edk2.git] / 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