From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.136; helo=mga12.intel.com; envelope-from=david.wei@intel.com; receiver=edk2-devel@lists.01.org Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 529BA223E0B90 for ; Fri, 23 Mar 2018 00:12:10 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Mar 2018 00:18:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,348,1517904000"; d="scan'208";a="30580114" Received: from zwei4-mobl1.ccr.corp.intel.com ([10.239.158.55]) by fmsmga002.fm.intel.com with ESMTP; 23 Mar 2018 00:18:42 -0700 From: zwei4 To: edk2-devel@lists.01.org Cc: David Wei Date: Fri, 23 Mar 2018 15:18:39 +0800 Message-Id: <20180323071839.4788-1-david.wei@intel.com> X-Mailer: git-send-email 2.14.1.windows.1 Subject: [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017] Fix VS2015 build failure. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2018 07:12:11 -0000 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: David Wei --- .../PlatformBootManagerLib/PlatformBootOption.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootOption.c b/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootOption.c index bed512a462..c77b20f686 100644 --- a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootOption.c +++ b/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootOption.c @@ -24,9 +24,9 @@ EFI_EVENT HotKeyEvent = NULL; UINTN mUiAppOptionNumber; CHAR16 *TmpStr = L"Press [F2] key to enter BIOS Setup"; -EFI_GRAPHICS_OUTPUT_BLT_PIXEL Foreground; -EFI_GRAPHICS_OUTPUT_BLT_PIXEL Background; -EFI_GRAPHICS_OUTPUT_BLT_PIXEL Color; +EFI_GRAPHICS_OUTPUT_BLT_PIXEL mForeground; +EFI_GRAPHICS_OUTPUT_BLT_PIXEL mBackground; +EFI_GRAPHICS_OUTPUT_BLT_PIXEL mColor; EFI_GUID mUiFile = { 0x462CAA21, 0x7614, 0x4503, { 0x83, 0x6E, 0x8A, 0xB6, 0xF4, 0x66, 0x23, 0x31 } }; EFI_GUID mBootMenuFile = { 0xEEC25BDC, 0x67F2, 0x4D95, { 0xB1, 0xD5, 0xF8, 0x1B, 0x20, 0x39, 0xD1, 0x1D }}; @@ -432,16 +432,16 @@ PlatformBootManagerWaitCallback ( TimeoutDefault = PcdGet16 (PcdPlatformBootTimeOut); if (TimeoutDefault == TimeoutRemain) { - SetMem (&Foreground, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0xff); - SetMem (&Background, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0x0); - SetMem (&Color, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0xff); + SetMem (&mForeground, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0xff); + SetMem (&mBackground, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0x0); + SetMem (&mColor, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0xff); } PlatformBdsShowProgress ( - Foreground, - Background, + mForeground, + mBackground, TmpStr, - Color, + mColor, ((TimeoutDefault - TimeoutRemain) * 100 / TimeoutDefault), 0 ); -- 2.14.1.windows.1