summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgilles <gilles@openbsd.org>2007-10-02 18:42:34 +0000
committergilles <gilles@openbsd.org>2007-10-02 18:42:34 +0000
commite6fcff11bd2c83f27acabfd50bb05ae87c868400 (patch)
treeab092ca8e1a102a0cd99b84081f283d9af64039f
parentProcess patterns containing $ end ^ (but not as last or first char) (diff)
downloadwireguard-openbsd-e6fcff11bd2c83f27acabfd50bb05ae87c868400.tar.xz
wireguard-openbsd-e6fcff11bd2c83f27acabfd50bb05ae87c868400.zip
fix format and type
ok otto@
-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))));
}