summaryrefslogtreecommitdiffstats
path: root/libnetdata/dictionary
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2022-10-25 17:24:07 +0300
committerGitHub <noreply@github.com>2022-10-25 17:24:07 +0300
commitbf1cb6048ba63438d0173f86d62ee4106bdcece6 (patch)
treea0bbb737fbf0e9d9d21e272b938c47aface2850f /libnetdata/dictionary
parentcd9cdbe01d7e29d463d9ea621db959839f85db0b (diff)
Use print macros (#13876)
* use print macros * cast instead
Diffstat (limited to 'libnetdata/dictionary')
-rw-r--r--libnetdata/dictionary/dictionary.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libnetdata/dictionary/dictionary.c b/libnetdata/dictionary/dictionary.c
index 663750a242..e362acdd8b 100644
--- a/libnetdata/dictionary/dictionary.c
+++ b/libnetdata/dictionary/dictionary.c
@@ -2913,9 +2913,9 @@ static int dictionary_unittest_threads() {
int threads_to_create = 2;
fprintf(
stderr,
- "\nChecking dictionary concurrency with %d threads for %ld seconds...\n",
+ "\nChecking dictionary concurrency with %d threads for %lld seconds...\n",
threads_to_create,
- seconds_to_run);
+ (long long)seconds_to_run);
netdata_thread_t threads[threads_to_create];
tu.join = 0;
@@ -3068,8 +3068,8 @@ static int dictionary_unittest_view_threads() {
time_t seconds_to_run = 5;
fprintf(
stderr,
- "\nChecking dictionary concurrency with 1 master and 1 view threads for %ld seconds...\n",
- seconds_to_run);
+ "\nChecking dictionary concurrency with 1 master and 1 view threads for %lld seconds...\n",
+ (long long)seconds_to_run);
netdata_thread_t master_thread, view_thread;
tv.join = 0;