]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ia32/ProcessorBind.h
Update FUNCTION_ENTRY_POINT() to be compatible with a wider variety of input parameters.
[mirror_edk2.git] / MdePkg / Include / Ia32 / ProcessorBind.h
index b3486ea8ef9b44af6f8b88741aa1f72371b1c474..3f3fae73cf0e7c662494a1034f524bd7ca9a664f 100644 (file)
@@ -219,7 +219,7 @@ typedef INT32   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