mirror of
git://git.musl-libc.org/musl
synced 2024-12-16 03:35:06 +00:00
fix invalid implicit pointer conversion in gnulib-compat functions
This commit is contained in:
parent
c8ea985748
commit
453059571c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user