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

data: replace htoleXX calls by leXXtoh #132

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

Gottox
Copy link
Owner

@Gottox Gottox commented Sep 7, 2023

This changes the data access functions to use the leXXtoh functions instead of the accidentally used htoleXX functions. This shouldn't have an impact on the correctness as byte order swapping is involutional but it makes the code logically more correct.

This changes the data access functions to use the leXXtoh functions instead
of the accidentally used htoleXX functions. This shouldn't have an
impact on the correctness as byte order swapping is involutional but
it makes the code logically more correct.
@codecov
Copy link

codecov bot commented Sep 7, 2023

Codecov Report

Patch coverage: 72.72% and no project coverage change.

Comparison is base (b6d02b9) 60.28% compared to head (32c26cb) 60.28%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #132   +/-   ##
=======================================
  Coverage   60.28%   60.28%           
=======================================
  Files          58       58           
  Lines        4769     4769           
  Branches      718      718           
=======================================
  Hits         2875     2875           
  Misses       1480     1480           
  Partials      414      414           
Files Changed Coverage Δ
lib/data/inode_data.c 50.38% <70.96%> (ø)
lib/data/metablock_data.c 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Gottox Gottox merged commit f687438 into main Sep 7, 2023
23 checks passed
@Gottox Gottox deleted the fix/data-replace-htole-by-letoh branch September 17, 2023 07:22
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.

1 participant