git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6883
6f19259b-4bc3-4df7-8a09-
765794883524
@return The pointer to the first instruction of a function given a function pointer.\r
**/\r
\r
@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
@return The pointer to the first instruction of a function given a function pointer.\r
\r
**/\r
@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
@return The pointer to the first instruction of a function given a function pointer.\r
\r
**/\r
@return The pointer to the first instruction of a function given a function pointer.\r
\r
**/\r
-#define FUNCTION_ENTRY_POINT(FunctionPointer) (((EFI_PLABEL *)(FunctionPointer))->EntryPoint)\r
+#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(((EFI_PLABEL *)(FunctionPointer))->EntryPoint)\r
@return The pointer to the first instruction of a function given a function pointer.\r
\r
**/\r
@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