diff options
| author | Stefan Farfeleder <stefanf@FreeBSD.org> | 2004-10-03 15:58:20 +0000 |
|---|---|---|
| committer | Stefan Farfeleder <stefanf@FreeBSD.org> | 2004-10-03 15:58:20 +0000 |
| commit | 5a9e72a72bb71c430a9cac48a9694a9440082d5e (patch) | |
| tree | 2f283732548b11bf0e682b76a522ad0fe86c753e /lib/libstand/splitfs.c | |
| parent | 4c86f66f52371a52f2b5e9085709f2774128abd3 (diff) | |
Notes
Diffstat (limited to 'lib/libstand/splitfs.c')
| -rw-r--r-- | lib/libstand/splitfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/splitfs.c b/lib/libstand/splitfs.c index 35593ad05cfd..9adcdec96f6a 100644 --- a/lib/libstand/splitfs.c +++ b/lib/libstand/splitfs.c @@ -207,7 +207,7 @@ splitfs_read(struct open_file *f, void *buf, size_t size, size_t *resid) sf->tot_pos += nread; sf->file_pos += nread; totread += nread; - buf += nread; + buf = (char *)buf + nread; if (totread < size) { /* EOF */ if (sf->curfile == (sf->filesc - 1)) /* Last slice */ |
