X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FArm%2FProcessorBind.h;h=6b75325f8770cf90d2839f114fd90eb167caf43e;hp=f4313c4dfefeb6157a61c432e752c596250de3ec;hb=1afe0401f4906dcdd5e76c9d4b46b69438be942f;hpb=7ee3b61338de1fa592227c719eca20f7813ea606 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