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
This commit is contained in:
jljusten 2008-05-08 16:53:42 +00:00
parent aa32d1eb9f
commit f703388007
1 changed files with 1 additions and 1 deletions

View File

@ -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.