diff options
author | peter <peter@FreeBSD.org> | 1999-07-01 19:42:56 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-07-01 19:42:56 +0000 |
commit | 700ead8c3e233e085c99817b4950784e1e253ba4 (patch) | |
tree | b710f4062e9adfe34f0bcdee5cce22cb55420591 /sys/ddb/db_write_cmd.c | |
parent | e1bfba05655a5e21033793ad779ef2e342780b9e (diff) | |
download | FreeBSD-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_write_cmd.c')
-rw-r--r-- | sys/ddb/db_write_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_write_cmd.c b/sys/ddb/db_write_cmd.c index 26ae37b..d745100 100644 --- a/sys/ddb/db_write_cmd.c +++ b/sys/ddb/db_write_cmd.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_write_cmd.c,v 1.10 1997/06/14 11:52:37 bde Exp $ + * $Id: db_write_cmd.c,v 1.11 1998/07/08 10:53:52 bde Exp $ */ /* @@ -78,7 +78,7 @@ db_write_cmd(address, have_addr, count, modif) while (db_expression(&new_value)) { old_value = db_get_value(addr, size, FALSE); db_printsym(addr, DB_STGY_ANY); - db_printf("\t\t%#8r\t=\t%#8r\n", old_value, new_value); + db_printf("\t\t%#8lr\t=\t%#8lr\n", (long)old_value,(long)new_value); db_put_value(addr, size, new_value); addr += size; |