do not add to void*
This commit is contained in:
parent
aaa502d3a3
commit
22a88b6735
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user