diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-25 06:15:58 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-25 06:15:58 +0000 |
commit | 1cc8ee7861a59532700a6fd1255689576eda0f52 (patch) | |
tree | 7708d058115302ba08d7879965e8864467958e93 /EdkModulePkg/Bus/Pci/Ehci/Dxe/EhciReg.c | |
parent | 582510249f2fb1334e507b99421b9485f6b89159 (diff) | |
download | edk2-platforms-1cc8ee7861a59532700a6fd1255689576eda0f52.tar.xz |
Partially make EdkModulePkg pass intel IPF compiler with /W4 /WX switched on.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2313 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Bus/Pci/Ehci/Dxe/EhciReg.c')
-rw-r--r-- | EdkModulePkg/Bus/Pci/Ehci/Dxe/EhciReg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/EdkModulePkg/Bus/Pci/Ehci/Dxe/EhciReg.c b/EdkModulePkg/Bus/Pci/Ehci/Dxe/EhciReg.c index 5767bbc024..d5271c25b2 100644 --- a/EdkModulePkg/Bus/Pci/Ehci/Dxe/EhciReg.c +++ b/EdkModulePkg/Bus/Pci/Ehci/Dxe/EhciReg.c @@ -1136,7 +1136,7 @@ Returns: &PortStatusControlReg
);
- return ((PortStatusControlReg & PORTSC_PED) ? TRUE : FALSE);
+ return ((BOOLEAN) ((PortStatusControlReg & PORTSC_PED) ? TRUE : FALSE));
}
BOOLEAN
@@ -1347,7 +1347,7 @@ Returns: //
gBS->Stall (EHCI_CLEAR_PORT_RESET_RECOVERY_TIME);
- return (IsEhcPortEnabled (HcDev, PortNum) ? TRUE : FALSE);
+ return ((BOOLEAN) (IsEhcPortEnabled (HcDev, PortNum) ? TRUE : FALSE));
}
EFI_STATUS
|