fix invalid implicit pointer conversion in gnulib-compat functions

This commit is contained in:
Rich Felker 2012-09-06 23:27:55 -04:00
parent c8ea985748
commit 453059571c

View File

@ -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)