提交 45305957 编写于 作者: R Rich Felker

fix invalid implicit pointer conversion in gnulib-compat functions

上级 c8ea9857
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册