Companion GCC8 warnings removed

This commit is contained in:
Bertrand Songis
2018-08-05 19:33:28 +02:00
parent 8a51682190
commit 2c47883cc2
11 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -498,7 +498,7 @@ void TelemetryCustomScreen::updateBar(int line)
void TelemetryCustomScreen::on_screenType_currentIndexChanged(int index)
{
if (!lock) {
memset(&screen.body, 0, sizeof(screen.body));
memset(reinterpret_cast<void *>(&screen.body), 0, sizeof(screen.body));
update();
emit modified();
}