From 700ead8c3e233e085c99817b4950784e1e253ba4 Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 1 Jul 1999 19:42:56 +0000 Subject: Quiet warnings on Alpha. (db_expr_t is a long on alpha, int on x86) --- sys/ddb/db_watch.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/ddb/db_watch.c') diff --git a/sys/ddb/db_watch.c b/sys/ddb/db_watch.c index 7769341..f853620 100644 --- a/sys/ddb/db_watch.c +++ b/sys/ddb/db_watch.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_watch.c,v 1.16 1998/02/13 02:19:29 bde Exp $ + * $Id: db_watch.c,v 1.17 1998/07/08 06:43:57 bde Exp $ */ /* @@ -174,10 +174,10 @@ db_list_watchpoints() for (watch = db_watchpoint_list; watch != 0; watch = watch->link) - db_printf("%s%8p %8x %x\n", + db_printf("%s%8p %8lx %lx\n", db_map_current(watch->map) ? "*" : " ", - (void *)watch->map, watch->loaddr, - watch->hiaddr - watch->loaddr); + (void *)watch->map, (long)watch->loaddr, + (long)watch->hiaddr - (long)watch->loaddr); } /* Delete watchpoint */ -- cgit v1.1