cc_timer: fix -wformat for 64bit

Origin commit data
------------------
Commit: 51b887a3ad
Author: Markus Volk <f_l_k@t-online.de>
Date: 2020-02-12 (Wed, 12 Feb 2020)
This commit is contained in:
Markus Volk
2020-02-12 23:43:38 +01:00
committed by vanhofen
parent b0e3739c0b
commit 1c7944d4c6
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);