summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_watch.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-07-01 19:42:56 +0000
committerpeter <peter@FreeBSD.org>1999-07-01 19:42:56 +0000
commit700ead8c3e233e085c99817b4950784e1e253ba4 (patch)
treeb710f4062e9adfe34f0bcdee5cce22cb55420591 /sys/ddb/db_watch.c
parente1bfba05655a5e21033793ad779ef2e342780b9e (diff)
downloadFreeBSD-src-700ead8c3e233e085c99817b4950784e1e253ba4.zip
FreeBSD-src-700ead8c3e233e085c99817b4950784e1e253ba4.tar.gz
Quiet warnings on Alpha. (db_expr_t is a long on alpha, int on x86)
Diffstat (limited to 'sys/ddb/db_watch.c')
-rw-r--r--sys/ddb/db_watch.c8
1 files changed, 4 insertions, 4 deletions
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 */
OpenPOWER on IntegriCloud