diff options
Diffstat (limited to 'src/libbio')
-rw-r--r-- | src/libbio/bfmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libbio/bfmt.c b/src/libbio/bfmt.c index f1b6f5ab..4e0b6206 100644 --- a/src/libbio/bfmt.c +++ b/src/libbio/bfmt.c @@ -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; |