diff --git a/src/stdio/ext2.c b/src/stdio/ext2.c index e587d64b..f359be9a 100644 --- a/src/stdio/ext2.c +++ b/src/stdio/ext2.c @@ -10,7 +10,7 @@ const char *__freadptr(FILE *f, size_t *sizep) size_t size = f->rend - f->rpos; if (!size) return 0; *sizep = size; - return f->rpos; + return (const char *)f->rpos; } void __freadptrinc(FILE *f, size_t inc)