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 integer widths #594

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Conversation

Alan-Jowett
Copy link
Collaborator

This pull request includes changes to the vm/ubpf_instruction_valid.c file to improve type safety and consistency in the _initialize_lookup_table and _in_range functions.

Improvements to type safety and consistency:

  • vm/ubpf_instruction_valid.c: Changed the loop variable type from int to size_t in the _initialize_lookup_table function to ensure proper handling of the loop index.
  • vm/ubpf_instruction_valid.c: Updated the parameter types in the _in_range function from int to int32_t for better consistency and clarity.

Signed-off-by: Alan Jowett <[email protected]>
@coveralls
Copy link

Coverage Status

coverage: 79.201%. remained the same
when pulling 5ef0f8c on Alan-Jowett:use_correct_width
into 3c639e6 on iovisor:main.

@Alan-Jowett Alan-Jowett merged commit 2d75c56 into iovisor:main Oct 30, 2024
51 checks passed
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.

2 participants