diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-04-09 06:16:14 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-04-09 06:16:14 +0000 |
commit | 8ae46b55b45128864d00a59f88498ca52dd6c184 (patch) | |
tree | bc927f3f92e12132e51974402a54ab12bfb68bd1 /src/dd.c | |
parent | c69ead65965cd116631c9fd1a155c002de542937 (diff) | |
download | coreutils-8ae46b55b45128864d00a59f88498ca52dd6c184.tar.xz |
(iread, iwrite): Use char * buffer, not void *, so we can do pointer
arithmetic on it.
Diffstat (limited to 'src/dd.c')
-rw-r--r-- | src/dd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -698,7 +698,7 @@ process_signals (void) bytes read if successful, -1 (setting errno) on failure. */ static ssize_t -iread (int fd, void *buf, size_t size) +iread (int fd, char *buf, size_t size) { for (;;) { @@ -716,7 +716,7 @@ iread (int fd, void *buf, size_t size) writes. */ static size_t -iwrite (int fd, void const *buf, size_t size) +iwrite (int fd, char const *buf, size_t size) { size_t total_written = 0; |