mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
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:
@@ -127,7 +127,7 @@ void CComponentsTimer::stopThread()
|
|||||||
delete tm_thread;
|
delete tm_thread;
|
||||||
tm_thread = NULL;
|
tm_thread = NULL;
|
||||||
tn.clear();
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -50,7 +50,7 @@ class CComponentsTimer : public sigc::trackable
|
|||||||
|
|
||||||
///refresh interval in seconds
|
///refresh interval in seconds
|
||||||
int64_t tm_interval;
|
int64_t tm_interval;
|
||||||
int64_t tm_ticks;
|
uint64_t tm_ticks;
|
||||||
|
|
||||||
///runs shared timer action provided inside OnTimer() signal
|
///runs shared timer action provided inside OnTimer() signal
|
||||||
static void threadCallback(CComponentsTimer *tm);
|
static void threadCallback(CComponentsTimer *tm);
|
||||||
|
Reference in New Issue
Block a user