diff --git a/Externals/soundtouch/CMakeLists.txt b/Externals/soundtouch/CMakeLists.txt index b7a2e5dc05..74acedfb4f 100644 --- a/Externals/soundtouch/CMakeLists.txt +++ b/Externals/soundtouch/CMakeLists.txt @@ -16,3 +16,4 @@ set(SRCS ) add_library(SoundTouch STATIC ${SRCS}) +add_definitions(-w) diff --git a/Source/Core/Core/NetPlayClient.cpp b/Source/Core/Core/NetPlayClient.cpp index e0639e9c1e..0dac4bb272 100644 --- a/Source/Core/Core/NetPlayClient.cpp +++ b/Source/Core/Core/NetPlayClient.cpp @@ -722,7 +722,7 @@ bool NetPlayClient::StartGame(const std::string& path) // Needed to prevent locking up at boot if (when) the wiimotes connect out of order. NetWiimote nw; nw.resize(4, 0); - m_wiimote_current_data_size = {4, 4, 4, 4}; + m_wiimote_current_data_size.fill(4); for (unsigned int w = 0; w < 4; ++w) {