cleanup(userspace): Fix various Visual C++ warnings#2729
cleanup(userspace): Fix various Visual C++ warnings#2729poiana merged 1 commit intofalcosecurity:masterfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2729 +/- ##
=======================================
Coverage 76.90% 76.90%
=======================================
Files 296 296
Lines 30875 30877 +2
Branches 4693 4693
=======================================
+ Hits 23745 23747 +2
Misses 7130 7130
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
7b87e41 to
c0ac7e8
Compare
sinsp_evt_param's ctor takes uint32_ts, so add a cast to sinsp_evt::load_params() to match. [[gnu::cold]] is limited to gcc and clang, so wrap it in an #if guard. Fix various printf and scanf specifiers. Signed-off-by: Gerald Combs <gerald@wireshark.org>
c0ac7e8 to
8082bfa
Compare
|
LGTM label has been added. DetailsGit tree hash: f510eb291f6228d553476681313fa10e40989691 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ekoops, geraldcombs, terror96 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
sinsp_evt_param's ctor takes uint32_ts, so add a cast to sinsp_evt::load_params() to match. [[gnu::cold]] is limited to gcc and clang, so wrap it in an #if guard. Fix various printf and scanf specifiers.
What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
/area libscap
/area libsinsp
/area tests
Does this PR require a change in the driver versions?
What this PR does / why we need it:
This makes the Visual C++ build output much less noisy.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: