diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-08 16:53:42 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-08 16:53:42 +0000 |
commit | f70338800713760b1f10e3642c17a25d13225e44 (patch) | |
tree | 9a3cc9d93fec3686cba8dd009531e4d9172136ef /MdeModulePkg | |
parent | aa32d1eb9f81b90ec21a7d5d6e0e1fd194f36d46 (diff) | |
download | edk2-platforms-f70338800713760b1f10e3642c17a25d13225e44.tar.xz |
edk2/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c:
Add type casting to fix warning generated by the Intel compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5187 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c b/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c index a007bd0595..c9bf401e1c 100644 --- a/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c +++ b/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c @@ -179,7 +179,7 @@ Returns: // Set RTC configuration after get original time
// The value of bit AIE should be reserved.
//
- RtcWrite (RTC_ADDRESS_REGISTER_B, RTC_INIT_REGISTER_B | (RegisterB.Data & BIT5));
+ RtcWrite (RTC_ADDRESS_REGISTER_B, (UINT8)(RTC_INIT_REGISTER_B | (RegisterB.Data & BIT5)));
//
// Release RTC Lock.
|