Add (intmax_t) type casts to some printf parameters to keep i386 happy.

This commit is contained in:
Kirk McKusick 2018-04-08 07:18:29 +00:00
parent 2a36aee276
commit f33fbc18f5

View File

@ -156,7 +156,8 @@ distance(fs, lastblk, firstblk)
return (&buf[0]);
}
snprintf(buf, 100, " cg %d blk %jd to cg %d blk %jd",
lastcg, dtogd(fs, lastblk), firstcg, dtogd(fs, firstblk));
lastcg, (intmax_t)dtogd(fs, lastblk), firstcg,
(intmax_t)dtogd(fs, firstblk));
return (&buf[0]);
}