]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ebc/ProcessorBind.h
Update FUNCTION_ENTRY_POINT() to be compatible with a wider variety of input parameters.
[mirror_edk2.git] / MdePkg / Include / Ebc / ProcessorBind.h
index b83ebe8766d939bbe3ad668eebaf43402b27c2fb..966ddb67813b3dbed497932e4f51f061b23e859b 100644 (file)
@@ -90,7 +90,7 @@ typedef unsigned long         UINTN;
   @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