From 2e73e4c9402f91ccfffe6277d9d68120c29c53f1 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 21 Feb 2015 15:58:45 +0100 Subject: [PATCH] CC-Clock: remove unnecessary cast --- src/gui/components/cc_frm_clock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm_clock.cpp b/src/gui/components/cc_frm_clock.cpp index a26f95d28..68955fbcb 100644 --- a/src/gui/components/cc_frm_clock.cpp +++ b/src/gui/components/cc_frm_clock.cpp @@ -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(<ime, &t)); + strftime(cl_timestr, sizeof(cl_timestr), getTimeFormat(ltime), localtime_r(<ime, &t)); } // How does it works?