From f70338800713760b1f10e3642c17a25d13225e44 Mon Sep 17 00:00:00 2001 From: jljusten Date: Thu, 8 May 2008 16:53:42 +0000 Subject: [PATCH] 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 --- MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.