summaryrefslogtreecommitdiffstats
path: root/EmulatorPkg/Library
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2014-07-04 20:50:41 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2014-07-04 20:50:41 +0000
commit0cecbe565aaac481cc06bd9e97c0a1b7642334e6 (patch)
tree25f33dab03efe786152469bb26094f0e419c37a8 /EmulatorPkg/Library
parentf58ba9ed6f413bc03f1a6f9e2115b970582e844f (diff)
downloadedk2-0cecbe565aaac481cc06bd9e97c0a1b7642334e6.tar.gz
edk2-0cecbe565aaac481cc06bd9e97c0a1b7642334e6.tar.bz2
edk2-0cecbe565aaac481cc06bd9e97c0a1b7642334e6.zip
EmulatorPkg: Add structure braces { } to fix build warning
The GCC parameter -Wno-missing-braces was recently removed. This caused build warnings where structures were instantiated without proper brace usage. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15632 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmulatorPkg/Library')
-rw-r--r--EmulatorPkg/Library/EmuBdsLib/PlatformData.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/EmulatorPkg/Library/EmuBdsLib/PlatformData.c b/EmulatorPkg/Library/EmuBdsLib/PlatformData.c
index 977da6a28d..3eb959b894 100644
--- a/EmulatorPkg/Library/EmuBdsLib/PlatformData.c
+++ b/EmulatorPkg/Library/EmuBdsLib/PlatformData.c
@@ -33,11 +33,13 @@ EMU_PLATFORM_UGA_DEVICE_PATH gGopDevicePath = {
},
{
{
- HARDWARE_DEVICE_PATH,
- HW_VENDOR_DP,
{
- (UINT8) (sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
- (UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
+ HARDWARE_DEVICE_PATH,
+ HW_VENDOR_DP,
+ {
+ (UINT8) (sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
+ (UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
+ },
},
EMU_GRAPHICS_WINDOW_PROTOCOL_GUID,
},