File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
include/oneapi/tbb/detail Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ struct multi_core_type_codec {
171171 return ids[0 ];
172172 }
173173
174- core_type_id result = (encoding_format << bitmask_width);
174+ core_type_id result = core_type_id (encoding_format << bitmask_width);
175175
176176 for (core_type_id id : ids) {
177177 __TBB_ASSERT ((0 <= id) && (id < static_cast <core_type_id>(bitmask_width)), " Wrong core type id" );
Original file line number Diff line number Diff line change @@ -442,7 +442,7 @@ system_info::affinity_mask prepare_reference_affinity_mask(const tbb::task_arena
442442 }
443443
444444 index_info combination;
445- combination.index = (tbb::detail::multi_core_type_codec::encoding_format <<
445+ combination.index = int (tbb::detail::multi_core_type_codec::encoding_format <<
446446 tbb::detail::multi_core_type_codec::bitmask_width); // multiple core type format
447447 combination.index |= mask;
448448 combination.concurrency = 0 ;
You can’t perform that action at this time.
0 commit comments