diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-08 20:59:38 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-08 20:59:38 +0000 |
commit | 1be0dda62d546b09d6892e09c48910ace6d57f01 (patch) | |
tree | 9e21706e70b349588752ce0b41b87bbab17aa672 /MdeModulePkg/Bus/Pci | |
parent | b12b28ec75bfba59c3e272bfb96f86923a9ef208 (diff) | |
download | edk2-1be0dda62d546b09d6892e09c48910ace6d57f01.zip edk2-1be0dda62d546b09d6892e09c48910ace6d57f01.tar.gz edk2-1be0dda62d546b09d6892e09c48910ace6d57f01.tar.bz2 |
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
Diffstat (limited to 'MdeModulePkg/Bus/Pci')
-rw-r--r-- | MdeModulePkg/Bus/Pci/UndiRuntimeDxe/Decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Pci/UndiRuntimeDxe/Decode.c b/MdeModulePkg/Bus/Pci/UndiRuntimeDxe/Decode.c index 3e81c9e..df5a6b5 100644 --- a/MdeModulePkg/Bus/Pci/UndiRuntimeDxe/Decode.c +++ b/MdeModulePkg/Bus/Pci/UndiRuntimeDxe/Decode.c @@ -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;
|