diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-09-06 23:27:55 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-09-06 23:27:55 -0400 |
commit | 453059571c9dc84dd168631eced25ec2d7afd98e (patch) | |
tree | 9a7a46fa3abf334b2fd5dd28ea04a4f69c17ecb9 /src/stdio/ext2.c | |
parent | c8ea985748a6857ac5db9ef50f9c92e2966c04d5 (diff) | |
download | musl-453059571c9dc84dd168631eced25ec2d7afd98e.tar.gz musl-453059571c9dc84dd168631eced25ec2d7afd98e.tar.bz2 musl-453059571c9dc84dd168631eced25ec2d7afd98e.tar.xz musl-453059571c9dc84dd168631eced25ec2d7afd98e.zip |
fix invalid implicit pointer conversion in gnulib-compat functions
Diffstat (limited to 'src/stdio/ext2.c')
-rw-r--r-- | src/stdio/ext2.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |