summaryrefslogtreecommitdiffstats
path: root/lib/libstand/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libstand/read.c')
-rw-r--r--lib/libstand/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/read.c b/lib/libstand/read.c
index 07401c1..09e24e1 100644
--- a/lib/libstand/read.c
+++ b/lib/libstand/read.c
@@ -108,7 +108,7 @@ read(int fd, void *dest, size_t bcount)
resid -= ccount;
if (resid == 0)
return(bcount);
- dest += ccount;
+ dest = (char *)dest + ccount;
}
/* will filling the readahead buffer again not help? */
OpenPOWER on IntegriCloud