CC-Clock: remove unnecessary cast

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Commit: cf0b9f944a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-21 (Sat, 21 Feb 2015)
This commit is contained in:
Stefan Seyfried
2015-02-21 15:58:45 +01:00
committed by Jacek Jendrzej
parent 42c9c76ef5
commit cebfc74a45

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?