Meter: use explicit type for drawData

This commit is contained in:
Christian Göttsche
2020-10-02 16:27:57 +02:00
committed by cgzones
parent 25022c219d
commit 0b9a001498
2 changed files with 7 additions and 7 deletions

View File

@ -259,7 +259,7 @@ static int GraphMeterMode_pixPerRow;
static void GraphMeterMode_draw(Meter* this, int x, int y, int w) {
if (!this->drawData) this->drawData = xCalloc(1, sizeof(GraphData));
GraphData* data = (GraphData*) this->drawData;
GraphData* data = this->drawData;
const int nValues = METER_BUFFER_LEN;
#ifdef HAVE_LIBNCURSESW