Sometimes it's amazing these haven't been turned
up by other compilers.
This commit is contained in:
parent
6e9a344ddd
commit
d99b2f34e6
3 changed files with 4 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ _Bfmtflush(Fmt *f)
|
|||
Biobuf *b;
|
||||
|
||||
b = f->farg;
|
||||
b->ocount = f->to - f->stop;
|
||||
b->ocount = (char*)f->to - (char*)f->stop;
|
||||
if(Bflush(b) < 0)
|
||||
return 0;
|
||||
f->to = b->ebuf+b->ocount;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue