projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8ea985
)
fix invalid implicit pointer conversion in gnulib-compat functions
author
Rich Felker
<dalias@aerifal.cx>
Fri, 7 Sep 2012 03:27:55 +0000
(23:27 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 7 Sep 2012 03:27:55 +0000
(23:27 -0400)
src/stdio/ext2.c
patch
|
blob
|
history
diff --git
a/src/stdio/ext2.c
b/src/stdio/ext2.c
index e587d64b2b52e32af33afefc4afc0624a1ba76fb..f359be9af7622dbcadc42b2372839136970732a9 100644
(file)
--- 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)