]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/X64/ProcessorBind.h
Update FUNCTION_ENTRY_POINT() to be compatible with a wider variety of input parameters.
[mirror_edk2.git] / MdePkg / Include / X64 / ProcessorBind.h
index 91b0306dcbcb4da4856a47be20e4c9d557700ff2..a54cc1b5d029f2dc89049796f9325aa7696321a1 100644 (file)
@@ -248,7 +248,7 @@ typedef INT64   INTN;
   @return The pointer to the first instruction of a function given a function pointer.\r
   \r
 **/\r
-#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(FunctionPointer)\r
+#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(FunctionPointer)\r
 \r
 #endif\r
 \r