Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/luna68k/stand/boot Fix warnings on DEBUG build.
details: https://anonhg.NetBSD.org/src/rev/9f55db141ab3
branches: trunk
changeset: 783911:9f55db141ab3
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Jan 12 13:39:47 2013 +0000
description:
Fix warnings on DEBUG build.
diffstat:
sys/arch/luna68k/stand/boot/autoconf.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 396d3a52b744 -r 9f55db141ab3 sys/arch/luna68k/stand/boot/autoconf.c
--- a/sys/arch/luna68k/stand/boot/autoconf.c Sat Jan 12 13:38:22 2013 +0000
+++ b/sys/arch/luna68k/stand/boot/autoconf.c Sat Jan 12 13:39:47 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.1 2013/01/05 17:44:24 tsutsui Exp $ */
+/* $NetBSD: autoconf.c,v 1.2 2013/01/12 13:39:47 tsutsui Exp $ */
/*
* Copyright (c) 1992 OMRON Corporation.
@@ -117,7 +117,7 @@
#ifdef DEBUG
if (!found) {
printf("unconfigured %s ", hw->hw_name);
- printf("at 0x%x\n", hw->hw_addr);
+ printf("at 0x%x\n", (u_int)hw->hw_addr);
}
#endif
}
@@ -141,7 +141,7 @@
#ifdef DEBUG
if (acdebug)
printf("find_controller: hw: %s at sc%d (%x), type %x...",
- hw->hw_name, hw->hw_sc, hw->hw_addr, hw->hw_type);
+ hw->hw_name, hw->hw_sc, (u_int)hw->hw_addr, hw->hw_type);
#endif
sc = hw->hw_sc;
match_c = NULL;
@@ -216,7 +216,7 @@
#ifdef DEBUG
if (acdebug)
printf("find_device: hw: %s at sc%d (%x), type %x...",
- hw->hw_name, hw->hw_sc, hw->hw_addr, hw->hw_type);
+ hw->hw_name, hw->hw_sc, (u_int)hw->hw_addr, hw->hw_type);
#endif
match_d = NULL;
for (hd = hp_dinit; hd->hp_driver; hd++) {
Home |
Main Index |
Thread Index |
Old Index