Skip to content

Commit

Permalink
tests: fix printf warning
Browse files Browse the repository at this point in the history
  • Loading branch information
densamoilov committed Jan 20, 2023
1 parent 1a32b95 commit 8312c3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_thread.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,9 @@ struct params_pack_helper_t<0, R> {
\
if ((ctx.core_type != default_thr_ctx.core_type) \
&& ((size_t)ctx.core_type >= core_types.size())) \
printf("WARNING: TBB smallest core has index %lu. Using this " \
printf("WARNING: TBB smallest core has index %d. Using this " \
"instead of %d.\n", \
core_types.size() - 1, ctx.core_type); \
(int)core_types.size() - 1, ctx.core_type); \
size_t core_type_id = (size_t)ctx.core_type < core_types.size() \
? ctx.core_type \
: core_types.size() - 1; \
Expand Down

0 comments on commit 8312c3a

Please sign in to comment.