From c24418a82263705582597b622a8b281d36f326e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 6 Aug 2017 19:00:56 +0800 Subject: [PATCH] IOS/SDIO: Fix warnings about missing braces --- Source/Core/Core/IOS/SDIO/SDIOSlot0.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Core/Core/IOS/SDIO/SDIOSlot0.cpp b/Source/Core/Core/IOS/SDIO/SDIOSlot0.cpp index 8d28792f3e..7b13e6df6b 100644 --- a/Source/Core/Core/IOS/SDIO/SDIOSlot0.cpp +++ b/Source/Core/Core/IOS/SDIO/SDIOSlot0.cpp @@ -579,10 +579,10 @@ std::array SDIOSlot0::GetCSDv1() constexpr u32 crc = 0; // Form the csd using the description above - return { + return {{ 0x007f003, 0x5b5f8000 | (c_size >> 2), 0x3ffc7f80 | (c_size << 30) | (c_size_mult << 15), 0x07c04001 | (crc << 1), - }; + }}; } std::array SDIOSlot0::GetCSDv2() @@ -634,9 +634,9 @@ std::array SDIOSlot0::GetCSDv2() constexpr u32 crc = 0; // Form the csd using the description above - return { + return {{ 0x400e005a, 0x5f590000 | (c_size >> 16), 0x00007f80 | (c_size << 16), 0x0a400001 | (crc << 1), - }; + }}; } u64 SDIOSlot0::GetAddressFromRequest(u32 arg) const