do not add to void*

This commit is contained in:
rsc 2005-03-15 19:50:16 +00:00
parent aaa502d3a3
commit 22a88b6735

View file

@ -53,7 +53,7 @@ fspwrite(CFid *fid, void *buf, long n, vlong offset)
want = n - tot;
if(want > msize)
want = msize;
got = _fspwrite(fid, buf+tot, want, offset);
got = _fspwrite(fid, (char*)buf+tot, want, offset);
first = 0;
if(got < 0){
if(tot == 0)