Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/arch/sparc64/sparc64 pull up 1.37 (approved by thor...



details:   https://anonhg.NetBSD.org/src/rev/c2c959df29c9
branches:  netbsd-1-5
changeset: 488819:c2c959df29c9
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jul 31 02:00:44 2000 +0000

description:
pull up 1.37 (approved by thorpej:
>Cast pointer to `u_long' (not `long') for correct results.

diffstat:

 sys/arch/sparc64/sparc64/db_interface.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8493c4e2d09f -r c2c959df29c9 sys/arch/sparc64/sparc64/db_interface.c
--- a/sys/arch/sparc64/sparc64/db_interface.c   Sun Jul 30 21:01:48 2000 +0000
+++ b/sys/arch/sparc64/sparc64/db_interface.c   Mon Jul 31 02:00:44 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.34.2.1 2000/07/18 16:23:25 mrg Exp $ */
+/*     $NetBSD: db_interface.c,v 1.34.2.2 2000/07/31 02:00:44 mrg Exp $ */
 
 /*
  * Mach Operating System
@@ -262,7 +262,7 @@
        src = (char *)addr;
        while (size-- > 0) {
                if (src >= (char *)VM_MIN_KERNEL_ADDRESS)
-                       *data++ = probeget((paddr_t)(long)src++, ASI_P, 1);
+                       *data++ = probeget((paddr_t)(u_long)src++, ASI_P, 1);
                else
                        *data++ = fubyte(src++);
        }



Home | Main Index | Thread Index | Old Index