Skip to content

Commit

Permalink
More size_t conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
trrwilson committed Apr 27, 2021
1 parent 7e57357 commit fac2441
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions extras/catch_amalgamated.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// SPDX-License-Identifier: BSL-1.0

// Catch v3.0.0-preview.3
// Generated: 2021-04-27 09:31:27.738058
// Generated: 2021-04-27 11:36:26.483782
// ----------------------------------------------------------
// This file is an amalgamation of multiple different files.
// You probably shouldn't edit it directly.
Expand Down Expand Up @@ -4015,7 +4015,7 @@ namespace Catch {
std::string OutputRedirectSink::getContentsFromPosition( int position ) {
fflush( m_originalSource );
auto result = m_tempFile.getContents( position );
m_lastGetPosition = position + result.size();
m_lastGetPosition = position + (int)result.size();
return result;
}

Expand Down
2 changes: 1 addition & 1 deletion extras/catch_amalgamated.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// SPDX-License-Identifier: BSL-1.0

// Catch v3.0.0-preview.3
// Generated: 2021-04-27 09:31:26.536677
// Generated: 2021-04-27 11:36:25.168404
// ----------------------------------------------------------
// This file is an amalgamation of multiple different files.
// You probably shouldn't edit it directly.
Expand Down
2 changes: 1 addition & 1 deletion src/catch2/internal/catch_output_redirect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ namespace Catch {
std::string OutputRedirectSink::getContentsFromPosition( int position ) {
fflush( m_originalSource );
auto result = m_tempFile.getContents( position );
m_lastGetPosition = position + result.size();
m_lastGetPosition = position + (int)result.size();
return result;
}

Expand Down

0 comments on commit fac2441

Please sign in to comment.