namespace wm
{
-static const unsigned kTimeOut = 3000000UL; /* 3s */
+static const unsigned kTimeOut = 3000000; /* 3s */
/* DrawingArea name used by "{layout}.{area}" */
const char kNameLayoutNormal[] = "normal";
{
// firsttime set into sd_event
int ret = sd_event_add_time(afb_daemon_get_event_loop(), &g_timer_ev_src,
- CLOCK_REALTIME, time(NULL) * (1000000UL) + kTimeOut, 1, processTimerHandler, this);
+ CLOCK_REALTIME, time(NULL) * (1000000) + kTimeOut, 1, processTimerHandler, this);
if (ret < 0)
{
HMI_ERROR("wm", "Could't set timer");
else
{
// update timer limitation after second time
- sd_event_source_set_time(g_timer_ev_src, time(NULL) * (1000000UL) + kTimeOut);
+ sd_event_source_set_time(g_timer_ev_src, time(NULL) * (1000000) + kTimeOut);
sd_event_source_set_enabled(g_timer_ev_src, SD_EVENT_ONESHOT);
}
}