GCC new warnings fixed (GCC) 8.1.1 20180531
This commit is contained in:
@@ -91,7 +91,7 @@ class TelemetryItem
|
||||
|
||||
void clear()
|
||||
{
|
||||
memset(this, 0, sizeof(*this));
|
||||
memset(reinterpret_cast<void*>(this), 0, sizeof(TelemetryItem));
|
||||
lastReceived = TELEMETRY_VALUE_UNAVAILABLE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user