From b7efae43861be078657ddf26ab5ac25f7778df6c Mon Sep 17 00:00:00 2001 From: "Daniel C. Sobral" Date: Thu, 4 Feb 1999 13:16:21 +0000 Subject: [PATCH] Silence a warning. PR: bin/9754 --- sys/boot/common/bcache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/boot/common/bcache.c b/sys/boot/common/bcache.c index fc12f578f9f..d780038c07a 100644 --- a/sys/boot/common/bcache.c +++ b/sys/boot/common/bcache.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: bcache.c,v 1.3 1998/11/04 00:29:01 msmith Exp $ + * $Id: bcache.c,v 1.4 1998/11/19 18:12:03 paul Exp $ */ /* @@ -252,7 +252,7 @@ command_bcache(int argc, char *argv[]) int i; for (i = 0; i < bcache_nblks; i++) { - printf("%08x %04x %04x|", bcache_ctl[i].bc_blkno, bcache_ctl[i].bc_stamp & 0xffff, bcache_ctl[i].bc_count & 0xffff); + printf("%08x %04x %04x|", bcache_ctl[i].bc_blkno, (unsigned int)bcache_ctl[i].bc_stamp & 0xffff, bcache_ctl[i].bc_count & 0xffff); if (((i + 1) % 4) == 0) printf("\n"); }