summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Ipf
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-05 23:23:59 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-05 23:23:59 +0000
commit9a1d00cbb571c019e98b28189f6619ff32e7bb49 (patch)
tree8b4859798ead4e6f6d11ca6be39b7fd69bf05969 /MdePkg/Include/Ipf
parente8cb61feb1bb0d9a971a019a1bde2a675cffcbef (diff)
downloadedk2-9a1d00cbb571c019e98b28189f6619ff32e7bb49.zip
edk2-9a1d00cbb571c019e98b28189f6619ff32e7bb49.tar.gz
edk2-9a1d00cbb571c019e98b28189f6619ff32e7bb49.tar.bz2
Update FUNCTION_ENTRY_POINT() to be compatible with a wider variety of input parameters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6883 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Ipf')
-rw-r--r--MdePkg/Include/Ipf/ProcessorBind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Ipf/ProcessorBind.h b/MdePkg/Include/Ipf/ProcessorBind.h
index 16bba65..ac695fe 100644
--- a/MdePkg/Include/Ipf/ProcessorBind.h
+++ b/MdePkg/Include/Ipf/ProcessorBind.h
@@ -250,7 +250,7 @@ typedef struct {
@return The pointer to the first instruction of a function given a function pointer.
**/
-#define FUNCTION_ENTRY_POINT(FunctionPointer) (((EFI_PLABEL *)(FunctionPointer))->EntryPoint)
+#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(((EFI_PLABEL *)(FunctionPointer))->EntryPoint)
#endif