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

Fix two more build warnings #1130

Merged
merged 2 commits into from
Jun 1, 2023
Merged

Fix two more build warnings #1130

merged 2 commits into from
Jun 1, 2023

Conversation

gnosek
Copy link
Contributor

@gnosek gnosek commented May 31, 2023

What type of PR is this?

/kind bug

Any specific area of the project related to this PR?

/area build

/area libscap-engine-modern-bpf

/area libpman

Does this PR require a change in the driver versions?

What this PR does / why we need it:

Fix two more build warnings

Which issue(s) this PR fixes:

Special notes for your reviewer:

With this PR, I can build libs with -DBUILD_WARNINGS_AS_ERRORS, though without this option tons and tons of warnings remain

Does this PR introduce a user-facing change?:

NONE

gnosek added 2 commits May 31, 2023 23:11
Signed-off-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com>
Technically, the proper type is signed, since -1 is a sentinel value
but since the API specifies an unsigned type, just cast the pointer
here.

Signed-off-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com>
@FedeDP
Copy link
Contributor

FedeDP commented Jun 1, 2023

/milestone 0.11.0

Thank you! Fortunately, we are still in time for 0.11 final tag

@poiana poiana added this to the 0.11.0 milestone Jun 1, 2023
Copy link
Contributor

@FedeDP FedeDP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@poiana
Copy link
Contributor

poiana commented Jun 1, 2023

LGTM label has been added.

Git tree hash: 4d0d96a0c295df25af69b73f85cb9559c868fafb

Copy link
Contributor

@jasondellaluce jasondellaluce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@poiana
Copy link
Contributor

poiana commented Jun 1, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: FedeDP, gnosek, jasondellaluce

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [FedeDP,gnosek,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit fd3663e into falcosecurity:master Jun 1, 2023
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.

4 participants