diff options
Diffstat (limited to 'src/helper/fileio.c')
-rw-r--r-- | src/helper/fileio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/fileio.c b/src/helper/fileio.c index bb10dbd1..eaf8e0db 100644 --- a/src/helper/fileio.c +++ b/src/helper/fileio.c @@ -189,7 +189,7 @@ int fileio_read_u32(fileio_t *fileio, u32 *data) return ERROR_OK; } -int fileio_local_fgets(fileio_t *fileio, u32 size, u8 *buffer) +int fileio_local_fgets(fileio_t *fileio, u32 size, char *buffer) { if( fgets(buffer, size, fileio->file) == NULL) return ERROR_FILEIO_OPERATION_FAILED; @@ -197,7 +197,7 @@ int fileio_local_fgets(fileio_t *fileio, u32 size, u8 *buffer) return ERROR_OK; } -int fileio_fgets(fileio_t *fileio, u32 size, u8 *buffer) +int fileio_fgets(fileio_t *fileio, u32 size, char *buffer) { return fileio_local_fgets(fileio, size, buffer); } |