summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stdio/ext2.c2
1 files changed, 1 insertions, 1 deletions
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)