From: Rich Felker Date: Fri, 7 Sep 2012 03:27:55 +0000 (-0400) Subject: fix invalid implicit pointer conversion in gnulib-compat functions X-Git-Tag: v0.9.5~54 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=453059571c9dc84dd168631eced25ec2d7afd98e;p=oweals%2Fmusl.git fix invalid implicit pointer conversion in gnulib-compat functions --- 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)