aboutsummaryrefslogtreecommitdiff
path: root/src/lib9pclient
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-03-15 19:50:16 +0000
committerrsc <devnull@localhost>2005-03-15 19:50:16 +0000
commit22a88b67353feee89189c0ab0da3cae8975d7121 (patch)
treee7ae1c817009b8ea703467334bceaedfbda5e14b /src/lib9pclient
parentaaa502d3a330a84ac835fd902b01f2834e2fc40a (diff)
downloadplan9port-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.c2
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)