public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: zwei4 <david.wei@intel.com>
To: edk2-devel@lists.01.org
Cc: David Wei <david.wei@intel.com>
Subject: [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017] Fix VS2015 build failure.
Date: Fri, 23 Mar 2018 15:18:39 +0800	[thread overview]
Message-ID: <20180323071839.4788-1-david.wei@intel.com> (raw)

Contributed-under: TianoCore Contribution Agreement 1.1

Signed-off-by: David Wei <david.wei@intel.com>
---
 .../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



                 reply	other threads:[~2018-03-23  7:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180323071839.4788-1-david.wei@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox