From nobody Sun May 19 20:06:34 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1521789527213361.19377029380917; Fri, 23 Mar 2018 00:18:47 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id AFBC7223E0BBD; Fri, 23 Mar 2018 00:12:12 -0700 (PDT) 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) 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 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 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; 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 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,348,1517904000"; d="scan'208";a="30580114" From: zwei4 To: edk2-devel@lists.01.org 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: [edk2] [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: , Cc: David Wei MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" 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/PlatformBootManager= Lib/PlatformBootOption.c b/Platform/BroxtonPlatformPkg/Common/Library/Platf= ormBootManagerLib/PlatformBootOption.c index bed512a462..c77b20f686 100644 --- a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/Pla= tformBootOption.c +++ b/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/Pla= tformBootOption.c @@ -24,9 +24,9 @@ EFI_EVENT HotKeyEvent =3D NULL; UINTN mUiAppOptionNumber; CHAR16 *TmpStr =3D L"Press [F2] key to enter BIOS Setup"; =20 -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; =20 EFI_GUID mUiFile =3D { 0x462CAA21, 0x7614, 0x4503, { 0x83, 0x6E, 0x8A, 0xB= 6, 0xF4, 0x66, 0x23, 0x31 } }; EFI_GUID mBootMenuFile =3D { 0xEEC25BDC, 0x67F2, 0x4D95, { 0xB1, 0xD5, 0xF= 8, 0x1B, 0x20, 0x39, 0xD1, 0x1D }}; @@ -432,16 +432,16 @@ PlatformBootManagerWaitCallback ( =20 TimeoutDefault =3D PcdGet16 (PcdPlatformBootTimeOut); if (TimeoutDefault =3D=3D 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); } =20 PlatformBdsShowProgress ( - Foreground, - Background, + mForeground, + mBackground, TmpStr, - Color, + mColor, ((TimeoutDefault - TimeoutRemain) * 100 / TimeoutDefault), 0 ); --=20 2.14.1.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel