-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle platforms where c_int is not i32
Some functions assume that c_int is always i32. This is not true for all platforms. This patch adapts those functions to handle those cases. Some littlefs functions return an error code (c_int) from functions returning i32. In these cases, error codes are truncated to c_int::MIN.
- Loading branch information
1 parent
d665899
commit 2544bd1
Showing
2 changed files
with
28 additions
and
17 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