CC-Clock: remove unnecessary cast

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
This commit is contained in:
Stefan Seyfried
2015-02-21 15:58:45 +01:00
committed by Jacek Jendrzej
parent 51fddab5a6
commit cf0b9f944a

View File

@@ -98,7 +98,7 @@ void CComponentsFrmClock::initTimeString()
struct tm t;
time_t ltime;
ltime=time(NULL);
strftime((char*) &cl_timestr, sizeof(cl_timestr), getTimeFormat(ltime), localtime_r(&ltime, &t));
strftime(cl_timestr, sizeof(cl_timestr), getTimeFormat(ltime), localtime_r(&ltime, &t));
}
// How does it works?