diff options
author | rsc <devnull@localhost> | 2005-03-15 19:50:16 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-03-15 19:50:16 +0000 |
commit | 22a88b67353feee89189c0ab0da3cae8975d7121 (patch) | |
tree | e7ae1c817009b8ea703467334bceaedfbda5e14b /src/lib9pclient | |
parent | aaa502d3a330a84ac835fd902b01f2834e2fc40a (diff) | |
download | plan9port-22a88b67353feee89189c0ab0da3cae8975d7121.tar.gz plan9port-22a88b67353feee89189c0ab0da3cae8975d7121.tar.bz2 plan9port-22a88b67353feee89189c0ab0da3cae8975d7121.zip |
do not add to void*
Diffstat (limited to 'src/lib9pclient')
-rw-r--r-- | src/lib9pclient/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib9pclient/write.c b/src/lib9pclient/write.c index 9f908589..daad8fde 100644 --- 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) |