Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mute the sign conversion warning with explicit cast #2546

Merged
merged 1 commit into from Oct 9, 2022

Conversation

Teskann
Copy link
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

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
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