summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2007-10-02 18:42:35 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2007-10-02 18:42:35 +0000
commit47dcf9cb60bb530718fc46c26e36b1ff5dbe30b7 (patch)
tree51b31a856bd37234b23fa0ac1ac68d939e086b2f /usr.bin
parent51fe3c1e1cb9f1ae15819b82e5127d3ef64d2e2c (diff)
fix format and type
ok otto@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/pcc/mip/regs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/pcc/mip/regs.c b/usr.bin/pcc/mip/regs.c
index e31b1671cfb..d4dd9ff452d 100644
--- a/usr.bin/pcc/mip/regs.c
+++ b/usr.bin/pcc/mip/regs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: regs.c,v 1.6 2007/09/22 14:42:26 otto Exp $ */
+/* $OpenBSD: regs.c,v 1.7 2007/10/02 18:42:34 gilles Exp $ */
/*
* Copyright (c) 2005 Anders Magnusson (ragge@ludd.luth.se).
* All rights reserved.
@@ -2137,8 +2137,8 @@ ngenregs(struct interpass *ipole)
nblock -= tempmin;
live = tmpalloc(BIT2BYTE(nbits));
- RDEBUG(("nblock %p num %d size %d\n",
- nblock, nbits, (int)(nbits * sizeof(REGW))));
+ RDEBUG(("nblock %p num %d size %zu\n",
+ nblock, nbits, (size_t)(nbits * sizeof(REGW))));
}