Paul 28538 / me 28540 / couple of unposted casts:

use char * for pointer arithmetic rather than void *
This commit is contained in:
Peter Stephenson
2010-12-20 10:28:43 +00:00
parent c8d07027c8
commit a7bc22ca00
7 changed files with 17 additions and 17 deletions

View File

@@ -2272,7 +2272,7 @@ checkrmall(char *s)
/**/
mod_export ssize_t
read_loop(int fd, void *buf, size_t len)
read_loop(int fd, char *buf, size_t len)
{
ssize_t got = len;
@@ -2298,7 +2298,7 @@ read_loop(int fd, void *buf, size_t len)
/**/
mod_export ssize_t
write_loop(int fd, const void *buf, size_t len)
write_loop(int fd, const char *buf, size_t len)
{
ssize_t wrote = len;