diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2017-06-24 02:33:55 +0100 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2017-06-28 01:12:13 +0100 |
| commit | ad51311dbf3d42c19c3e030c1759eb30370bb29e (patch) | |
| tree | 46ab57ed5a0c2df62edbab9d51411a2c77aad43c /Source/Core | |
| parent | a63ee7872349d89ff8df0930aababf2b4eff3c24 (diff) | |
Fix GCC warnings
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/HW/WiimoteReal/IOLinux.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Core/HW/WiimoteReal/IOLinux.cpp b/Source/Core/Core/HW/WiimoteReal/IOLinux.cpp index 579b442d6d..461f61709d 100644 --- a/Source/Core/Core/HW/WiimoteReal/IOLinux.cpp +++ b/Source/Core/Core/HW/WiimoteReal/IOLinux.cpp @@ -140,7 +140,7 @@ bool WiimoteLinux::ConnectInternal() // Output channel addr.l2_psm = htobs(WC_OUTPUT); - if (m_cmd_sock = socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP)) + if ((m_cmd_sock = socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP))) { int retry = 0; while (connect(m_cmd_sock, (sockaddr*)&addr, sizeof(addr)) < 0) @@ -165,7 +165,7 @@ bool WiimoteLinux::ConnectInternal() // Input channel addr.l2_psm = htobs(WC_INPUT); - if (m_int_sock = socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP)) + if ((m_int_sock = socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP))) { int retry = 0; while (connect(m_int_sock, (sockaddr*)&addr, sizeof(addr)) < 0) |
