Fixed compiler warnings

Fixed some compiler warnings.
Added work around for a gcc warning bug.
This commit is contained in:
Landon Curt Noll
2018-02-21 12:37:46 -08:00
parent 83c898cc2b
commit b4cd692bae
3 changed files with 20 additions and 7 deletions

View File

@@ -2944,7 +2944,7 @@ printestr(VALUE *vp)
bp = vp->v_nblock->blk;
}
i = bp->datalen;
math_fmt("%ld,%d)", i, bp->blkchunk);
math_fmt("%ld,%d)", i, (int) bp->blkchunk);
cp = bp->data;
if (i > 0) {
math_str("={");