Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 fix warnings.
details: https://anonhg.NetBSD.org/src/rev/f003e2f96234
branches: trunk
changeset: 495394:f003e2f96234
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Jul 27 13:57:23 2000 +0000
description:
fix warnings.
diffstat:
sys/arch/sparc64/sparc64/db_interface.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e9bac5c03e05 -r f003e2f96234 sys/arch/sparc64/sparc64/db_interface.c
--- a/sys/arch/sparc64/sparc64/db_interface.c Thu Jul 27 13:45:59 2000 +0000
+++ b/sys/arch/sparc64/sparc64/db_interface.c Thu Jul 27 13:57:23 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_interface.c,v 1.37 2000/07/18 20:15:36 pk Exp $ */
+/* $NetBSD: db_interface.c,v 1.38 2000/07/27 13:57:23 mrg Exp $ */
/*
* Mach Operating System
@@ -191,7 +191,7 @@
OF_enter();
/*NOTREACHED*/
}
- db_recover = 1;
+ db_recover = (label_t *)1;
}
/* Should switch to kdb`s own stack here. */
@@ -289,7 +289,7 @@
else if ((dst >= (char *)VM_MIN_KERNEL_ADDRESS) &&
(dst < (char *)VM_MIN_KERNEL_ADDRESS+0x400000))
/* Read Only mapping -- need to do a bypass access */
- stba(dst - ktext + ktextp, ASI_PHYS_CACHED, *data);
+ stba((u_long)dst - ktext + ktextp, ASI_PHYS_CACHED, *data);
else
subyte(dst, *data);
dst++, data++;
Home |
Main Index |
Thread Index |
Old Index