Fix some warnings Wshorten-64-to-32 6186 v21.2#11524
Merged
victorjulien merged 4 commits intoOISF:masterfrom Jul 22, 2024
Merged
Fix some warnings Wshorten-64-to-32 6186 v21.2#11524victorjulien merged 4 commits intoOISF:masterfrom
victorjulien merged 4 commits intoOISF:masterfrom
Conversation
When configure is used with --enable-warnings, we try to add most warning flags that should pass. This commits adds the warning Wimplicit-int-float-conversion
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #11524 +/- ##
==========================================
- Coverage 82.54% 82.48% -0.07%
==========================================
Files 923 923
Lines 248460 248496 +36
==========================================
- Hits 205083 204961 -122
- Misses 43377 43535 +158
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
Information: QA ran without warnings. Pipeline 21665 |
victorjulien
approved these changes
Jul 20, 2024
Merged
Member
|
Merged in #11536, thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Link to redmine ticket:
https://redmine.openinfosecfoundation.org/issues/6186
Describe changes:
-Wshorten-64-to-32warnings for some files : defrag, datasets, suricata.c, runmodes-Wimplicit-int-float-conversionto the set of warning flags used by./configure --enable-warningsSome commits of #9840
#11453 next batch
#11519 with style improved and one less commit according to review
Still to do afterwards :