Fixes issue 3907.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6828 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang 2011-01-12 16:24:18 +00:00
parent ad2e6c60bc
commit d5b7c5802e
1 changed files with 2 additions and 2 deletions

View File

@ -58,8 +58,8 @@ Wiimote::Wiimote(const unsigned int _index)
#elif defined(_WIN32)
, dev_handle(0), stack(MSBT_STACK_UNKNOWN)
#endif
, leds(0)
, m_last_data_report(Report(NULL, 0)), m_channel(0), m_connected(false)
, leds(0), m_last_data_report(Report((u8 *)NULL, 0))
, m_channel(0), m_connected(false)
{
#if defined(__linux__) && HAVE_BLUEZ
bdaddr = (bdaddr_t){{0, 0, 0, 0, 0, 0}};