From 453059571c9dc84dd168631eced25ec2d7afd98e Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 6 Sep 2012 23:27:55 -0400 Subject: fix invalid implicit pointer conversion in gnulib-compat functions --- src/stdio/ext2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.1