diff options
-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) |