tdo not add to void* - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 22a88b67353feee89189c0ab0da3cae8975d7121
 (DIR) parent aaa502d3a330a84ac835fd902b01f2834e2fc40a
 (HTM) Author: rsc <devnull@localhost>
       Date:   Tue, 15 Mar 2005 19:50:16 +0000
       
       do not add to void*
       
       Diffstat:
         M src/lib9pclient/write.c             |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/lib9pclient/write.c b/src/lib9pclient/write.c
       t@@ -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)