summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Arm
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Arm')
-rw-r--r--MdePkg/Include/Arm/ProcessorBind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Arm/ProcessorBind.h b/MdePkg/Include/Arm/ProcessorBind.h
index f4313c4dfe..6b75325f87 100644
--- a/MdePkg/Include/Arm/ProcessorBind.h
+++ b/MdePkg/Include/Arm/ProcessorBind.h
@@ -123,6 +123,6 @@ typedef INT32 INTN;
@return The pointer to the first instruction of a function given a function pointer.
**/
-#define FUNCTION_ENTRY_POINT(FunctionPointer) (FunctionPointer)
+#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(FunctionPointer)
#endif