From e6c4594bfd63d7480fa4c010e5336586c61c240f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 26 Sep 2019 18:23:54 +0300 Subject: C++'17 compatibility mode enabled --- plugins/MirandaG15/src/LCDFramework/CLCDConnectionLogitech.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/MirandaG15/src/LCDFramework') diff --git a/plugins/MirandaG15/src/LCDFramework/CLCDConnectionLogitech.cpp b/plugins/MirandaG15/src/LCDFramework/CLCDConnectionLogitech.cpp index 300bc365e2..a6902e6a55 100644 --- a/plugins/MirandaG15/src/LCDFramework/CLCDConnectionLogitech.cpp +++ b/plugins/MirandaG15/src/LCDFramework/CLCDConnectionLogitech.cpp @@ -892,7 +892,7 @@ SG15LightStatus CLCDConnectionLogitech::GetLightStatus() m_pConnectedDevice->GetIndex() != LGLCD_DEVICE_BW) //m_lcdDeviceDesc.deviceFamilyId != LGLCD_DEVICE_FAMILY_KEYBOARD_G15) return status; - byte *data = new byte[m_HIDCapabilities.FeatureReportByteLength]; + BYTE *data = new BYTE[m_HIDCapabilities.FeatureReportByteLength]; data[0] = 0x02; data[1] = 0x02; @@ -936,7 +936,7 @@ void CLCDConnectionLogitech::SetMKeyLight(bool bM1, bool bM2, bool bM3, bool bMR m_pConnectedDevice->GetIndex() != LGLCD_DEVICE_BW) //m_lcdDeviceDesc.deviceFamilyId != LGLCD_DEVICE_FAMILY_KEYBOARD_G15) return; - byte *data = new byte[m_HIDCapabilities.FeatureReportByteLength]; + BYTE *data = new BYTE[m_HIDCapabilities.FeatureReportByteLength]; data[0] = 0x02; data[1] = 0x04; data[2] = 0x00; @@ -962,7 +962,7 @@ void CLCDConnectionLogitech::SetLCDBacklight(ELCDBrightness eBrightness) m_pConnectedDevice->GetIndex() != LGLCD_DEVICE_BW) //m_lcdDeviceDesc.deviceFamilyId != LGLCD_DEVICE_FAMILY_KEYBOARD_G15) return; - byte *data = new byte[m_HIDCapabilities.FeatureReportByteLength]; + BYTE *data = new BYTE[m_HIDCapabilities.FeatureReportByteLength]; data[0] = 0x02; data[1] = 0x02; @@ -980,7 +980,7 @@ void CLCDConnectionLogitech::SetKBDBacklight(EKBDBrightness eBrightness) m_pConnectedDevice->GetIndex() != LGLCD_DEVICE_BW) //m_lcdDeviceDesc.deviceFamilyId != LGLCD_DEVICE_FAMILY_KEYBOARD_G15) return; - byte *data = new byte[m_HIDCapabilities.FeatureReportByteLength]; + BYTE *data = new BYTE[m_HIDCapabilities.FeatureReportByteLength]; data[0] = 0x02; data[1] = 0x01; -- cgit v1.2.3