Permalink
Browse files

WiimoteDevice: Remove unnecessary cast in ExecuteL2capCmd()

pData is already a u8*, so a cast isn't necessary here.
  • Loading branch information...
lioncash committed Jun 10, 2018
1 parent 69f079b commit 5548316d3229a2af358b448e0d2ee64bd3c805ac
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Core/Core/IOS/USB/Bluetooth/WiimoteDevice.cpp
@@ -295,8 +295,8 @@ void WiimoteDevice::ExecuteL2capCmd(u8* _pData, u32 _Size)
{
DEBUG_LOG(WIIMOTE, "Wiimote_InterruptChannel");
DEBUG_LOG(WIIMOTE, " Channel ID: %04x", pHeader->dcid);
std::string Temp = ArrayToString((const u8*)pData, DataSize);
DEBUG_LOG(WIIMOTE, " Data: %s", Temp.c_str());
const std::string temp = ArrayToString(pData, DataSize);
DEBUG_LOG(WIIMOTE, " Data: %s", temp.c_str());
Wiimote::InterruptChannel(number, pHeader->dcid, pData, DataSize);
}

0 comments on commit 5548316

Please sign in to comment.