-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
file: Fix multiple assumptions about target endianess
When file ops was developed as PoC, it was simpler to rely of the fact that x86 is little endian and just typecast the buf into target data structures. This may not be the case all the time. This patch gets rid of those typecasts and replaces them with hand packing code. Signed-off-by: Siddharth Chandrasekaran <[email protected]>
- Loading branch information
Showing
2 changed files
with
67 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters