diff options
Diffstat (limited to 'ClockMeter.c')
-rw-r--r-- | ClockMeter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ClockMeter.c b/ClockMeter.c index c6f2ab33..3cc9dd03 100644 --- a/ClockMeter.c +++ b/ClockMeter.c @@ -22,7 +22,7 @@ static const int ClockMeter_attributes[] = { static void ClockMeter_updateValues(Meter* this, char* buffer, int size) { time_t t = time(NULL); struct tm result; - struct tm *lt = localtime_r(&t, &result); + struct tm* lt = localtime_r(&t, &result); this->values[0] = lt->tm_hour * 60 + lt->tm_min; strftime(buffer, size, "%H:%M:%S", lt); } |