mirror of https://github.com/wolfSSL/wolfssh.git
Fix warning on FATFS builds
Triggered on a customer's FATFS build with -Werror.pull/796/head
parent
d3bd96f210
commit
7ab2b27fdd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue