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

Rework integer type conversions #984

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Conversation

skitt
Copy link
Member

@skitt skitt commented Aug 30, 2024

Following the recent gosec-related int work (to annotate known-safe conversions), this furthers that by using uint32 instead of int for IP pool sizes. Their use is tied to uint32 representations of IP addresses, and using uint32 directly eliminates a number of conversions and annotations.

Following the recent gosec-related int work (to annotate known-safe
conversions), this furthers that by using uint32 instead of int for IP
pool sizes. Their use is tied to uint32 representations of IP
addresses, and using uint32 directly eliminates a number of
conversions and annotations.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr984/skitt/int-cleanup

@aswinsuryan aswinsuryan merged commit 5433463 into submariner-io:devel Aug 30, 2024
16 checks passed
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr984/skitt/int-cleanup]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants