Merge pull request #796 from LinuxJedi/fix-fatfs-warning

Fix warning on FATFS builds
pull/797/head
David Garske 2025-04-08 15:03:52 -07:00 committed by GitHub
commit cd04ae5c34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ extern "C" {
}
if (*f == 0) {
*f = WMALLOC(sizeof(FIL), NULL, 0);
*f = (FIL*)WMALLOC(sizeof(FIL), NULL, 0);
}
#ifdef WOLFSSH_XILFATFS
m = FA_CREATE_ALWAYS;