plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 22a88b67353feee89189c0ab0da3cae8975d7121
parent aaa502d3a330a84ac835fd902b01f2834e2fc40a
Author: rsc <devnull@localhost>
Date:   Tue, 15 Mar 2005 19:50:16 +0000

do not add to void*

Diffstat:
Msrc/lib9pclient/write.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib9pclient/write.c b/src/lib9pclient/write.c @@ -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)