From 966d88fc10a4ef26e5e026a480dd736f7f8eada5 Mon Sep 17 00:00:00 2001 From: Brooss Date: Tue, 3 Mar 2015 12:12:40 +1100 Subject: [PATCH] fix gcc warnings --- src/lib_ccx/ts_tables_epg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib_ccx/ts_tables_epg.c b/src/lib_ccx/ts_tables_epg.c index d9a90a9c..03e0d5ae 100644 --- a/src/lib_ccx/ts_tables_epg.c +++ b/src/lib_ccx/ts_tables_epg.c @@ -39,7 +39,7 @@ void EPG_DVB_calc_start_time(struct EPG_event *event, uint64_t time) { y = y + k + 1900; m = m - 1 - k*12; - sprintf(event->start_time_string, "%02d%02d%02d%06x +0000",y,m,d,time&0xffffff); + sprintf(event->start_time_string, "%02d%02d%02d%06x +0000",(int)y,(int)m,(int)d,(int)(time&0xffffff)); } }