diff --git a/src/gui/components/cc_timer.cpp b/src/gui/components/cc_timer.cpp index b9cc6a63c..a965dee44 100644 --- a/src/gui/components/cc_timer.cpp +++ b/src/gui/components/cc_timer.cpp @@ -127,7 +127,7 @@ void CComponentsTimer::stopThread() delete tm_thread; tm_thread = NULL; tn.clear(); - dprintf(DEBUG_DEBUG,"\033[32m[CComponentsTimer] thread [%p] [%s] [%s - %d] thread object terminated after %llu ticks\033[0m\n", tm_thread, tn.c_str(), __func__, __LINE__, tm_ticks); + dprintf(DEBUG_DEBUG,"\033[32m[CComponentsTimer] thread [%p] [%s] [%s - %d] thread object terminated after %" PRIu64 " ticks\033[0m\n", tm_thread, tn.c_str(), __func__, __LINE__, tm_ticks); } } diff --git a/src/gui/components/cc_timer.h b/src/gui/components/cc_timer.h index 0475ee318..82bfbb683 100644 --- a/src/gui/components/cc_timer.h +++ b/src/gui/components/cc_timer.h @@ -50,7 +50,7 @@ class CComponentsTimer : public sigc::trackable ///refresh interval in seconds int64_t tm_interval; - int64_t tm_ticks; + uint64_t tm_ticks; ///runs shared timer action provided inside OnTimer() signal static void threadCallback(CComponentsTimer *tm);