Skip to content

Commit 9d5cdc8

Browse files
committed
Silence warning -Wconversion in GCC 15.2
1 parent 024aec9 commit 9d5cdc8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/catch2/reporters/catch_reporter_helpers.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ namespace Catch {
205205

206206
for ( auto const& tagCount : tags ) {
207207
ReusableStringStream rss;
208-
rss << " " << std::setw( maxTagCountLen ) << tagCount.count << " ";
208+
rss << " " << std::setw( static_cast<size_t>( maxTagCountLen ) )
209+
<< tagCount.count << " ";
209210
auto str = rss.str();
210211
auto wrapper = TextFlow::Column( tagCount.all() )
211212
.initialIndent( 0 )

0 commit comments

Comments
 (0)