summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Ebc
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Ebc')
-rw-r--r--MdePkg/Include/Ebc/ProcessorBind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Ebc/ProcessorBind.h b/MdePkg/Include/Ebc/ProcessorBind.h
index b83ebe8766..966ddb6781 100644
--- a/MdePkg/Include/Ebc/ProcessorBind.h
+++ b/MdePkg/Include/Ebc/ProcessorBind.h
@@ -90,7 +90,7 @@ typedef unsigned long UINTN;
@return The pointer to the first instruction of a function given a function pointer.
**/
-#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(FunctionPointer)
+#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(FunctionPointer)
#endif