WiimoteDevice: Remove unnecessary cast in ExecuteL2capCmd()

pData is already a u8*, so a cast isn't necessary here.
This commit is contained in:
Lioncash 2018-06-10 09:04:39 -04:00
parent 69f079b371
commit 5548316d32
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}