Merge pull request #3998 from comex/warning-fixes-951

Fix more warnings:
This commit is contained in:
Pierre Bourdon 2016-07-11 04:04:30 +02:00 committed by GitHub
commit 8de6800e9d
2 changed files with 2 additions and 1 deletions

View File

@ -16,3 +16,4 @@ set(SRCS
)
add_library(SoundTouch STATIC ${SRCS})
add_definitions(-w)

View File

@ -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)
{