mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Meter: use explicit type for drawData
This commit is contained in:

committed by
cgzones

parent
25022c219d
commit
0b9a001498
2
Meter.c
2
Meter.c
@ -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
|
||||
|
Reference in New Issue
Block a user