diff options
Diffstat (limited to 'MdePkg/Include/X64/ProcessorBind.h')
-rw-r--r-- | MdePkg/Include/X64/ProcessorBind.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/X64/ProcessorBind.h b/MdePkg/Include/X64/ProcessorBind.h index 91b0306dcb..a54cc1b5d0 100644 --- a/MdePkg/Include/X64/ProcessorBind.h +++ b/MdePkg/Include/X64/ProcessorBind.h @@ -248,7 +248,7 @@ typedef INT64 INTN; @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
|