Fix warnings generated by gcc for ia32 builds:

'cast from pointer to integer of different size'
when casting from a pointer directly to a
64 bit number.  Added an intermediate cast to
UINTN.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5009 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten
2008-04-08 20:59:38 +00:00
parent b12b28ec75
commit 1be0dda62d
8 changed files with 12 additions and 12 deletions

View File

@ -1582,7 +1582,7 @@ Returns:
PXE_ROMID_IMP_SOFTWARE_INT_SUPPORTED |
PXE_ROMID_IMP_PACKET_RX_INT_SUPPORTED;
PxePtr->EntryPoint = (UINT64) UNDI_APIEntry_new;
PxePtr->EntryPoint = (UINT64) (UINTN) UNDI_APIEntry_new;
PxePtr->MinorVer = PXE_ROMID_MINORVER_31;
PxePtr->reserved2[0] = 0;