mirror of git://git.musl-libc.org/musl
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