From f26ada9d5b54547ad27d4f0543d4e795abade62a 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 Signed-off-by: Jacek Jendrzej Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/cf0b9f944a7b54f32fff4b57af46ebe613c41188 Author: Stefan Seyfried Date: 2015-02-21 (Sat, 21 Feb 2015) ------------------ This commit was generated by Migit --- 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?