CC-Clock: remove unnecessary cast

This commit is contained in:
Stefan Seyfried
2015-02-21 15:58:45 +01:00
parent b74cf816cb
commit 2e73e4c940

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?