summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_sym.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_sym.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_sym.c')
-rw-r--r--sys/ddb/db_sym.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_sym.c b/sys/ddb/db_sym.c
index c791c3b..293f3ec 100644
--- a/sys/ddb/db_sym.c
+++ b/sys/ddb/db_sym.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_sym.c,v 1.29 1999/01/27 23:45:37 dillon Exp $
+ * $Id: db_sym.c,v 1.30 1999/02/12 12:44:19 bde Exp $
*/
/*
@@ -310,7 +310,7 @@ db_printsym(off, strategy)
}
db_printf("%s", name);
if (d)
- db_printf("+%+#r", d);
+ db_printf("+%+#lr", (long)d);
if (strategy == DB_STGY_PROC) {
if (db_line_at_pc(cursym, &filename, &linenum, off))
db_printf(" [%s:%d]", filename, linenum);
OpenPOWER on IntegriCloud