diff options
author | stefanf <stefanf@FreeBSD.org> | 2004-10-03 15:58:20 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2004-10-03 15:58:20 +0000 |
commit | 06aa92a1b805a79ccf1e4d918298ab3c7b078a39 (patch) | |
tree | 2f283732548b11bf0e682b76a522ad0fe86c753e /lib/libstand/ext2fs.c | |
parent | f3f8ad79f64bcb2e92d92cfd6a77a532d50b8ca9 (diff) | |
download | FreeBSD-src-06aa92a1b805a79ccf1e4d918298ab3c7b078a39.zip FreeBSD-src-06aa92a1b805a79ccf1e4d918298ab3c7b078a39.tar.gz |
Don't add integers to void pointers.
Diffstat (limited to 'lib/libstand/ext2fs.c')
-rw-r--r-- | lib/libstand/ext2fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/ext2fs.c b/lib/libstand/ext2fs.c index 153f163..1bd78e2 100644 --- a/lib/libstand/ext2fs.c +++ b/lib/libstand/ext2fs.c @@ -834,7 +834,7 @@ ext2fs_read(struct open_file *f, void *addr, size_t size, size_t *resid) bcopy(buf, addr, csize); fp->f_seekp += csize; - addr += csize; + addr = (char *)addr + csize; size -= csize; } if (resid) |