cc_timer: fix -wformat for 64bit

This commit is contained in:
Markus Volk
2020-02-11 07:33:48 +01:00
parent aa0f24008f
commit 34f669c91f
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}
}

View File

@@ -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);