Skip to content

Mute the sign conversion warning with explicit cast#2546

Merged
horenmar merged 1 commit intocatchorg:develfrom
Teskann:patch-1
Oct 9, 2022
Merged

Mute the sign conversion warning with explicit cast#2546
horenmar merged 1 commit intocatchorg:develfrom
Teskann:patch-1

Conversation

@Teskann
Copy link
Copy Markdown
Contributor

@Teskann Teskann commented Oct 8, 2022

Description

Muted the sign conversion warning caused by implicit cast of returned result of catch_strnlen().
Used static_cast to cast the type.

GitHub Issues

Closes #2545

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 8, 2022

Codecov Report

Merging #2546 (2538aad) into devel (728de35) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            devel    #2546      +/-   ##
==========================================
- Coverage   91.58%   91.57%   -0.01%     
==========================================
  Files         183      183              
  Lines        7564     7564              
==========================================
- Hits         6927     6926       -1     
- Misses        637      638       +1     

@horenmar
Copy link
Copy Markdown
Member

horenmar commented Oct 9, 2022

Thanks.

@horenmar horenmar merged commit bdf3083 into catchorg:devel Oct 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sign-conversion warning in catch_tostring.hpp

2 participants