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

Explicitly cast values of different types #2875

Merged
merged 1 commit into from
Oct 14, 2024
Merged

Conversation

svenihoney
Copy link
Contributor

Description

In case the warning -Werror=conversion is active with GCC, the warnings about "conversion from A to B may change value" lead to a compilation error. This explicitly convert the values to address these warnings.

In case the warning -Werror=conversion is active with GCC, the warnings
about "conversion from A to B may change value" lead to a compilation
error. This explicitly convert the values to address these warnings.
Copy link

codecov bot commented May 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.11%. Comparing base (4e8d92b) to head (6bf7dc9).
Report is 39 commits behind head on devel.

Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #2875      +/-   ##
==========================================
+ Coverage   91.10%   91.11%   +0.01%     
==========================================
  Files         198      198              
  Lines        8493     8493              
==========================================
+ Hits         7737     7738       +1     
+ Misses        756      755       -1     

@horenmar
Copy link
Member

Eh, sure.

@horenmar horenmar merged commit 0b2af56 into catchorg:devel Oct 14, 2024
3 checks passed
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.

2 participants