Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ddb Cast ptrdiff_t to long for printf purposes.
details: https://anonhg.NetBSD.org/src/rev/12d4eaaec380
branches: trunk
changeset: 473469:12d4eaaec380
user: pk <pk%NetBSD.org@localhost>
date: Sat Jun 05 08:36:29 1999 +0000
description:
Cast ptrdiff_t to long for printf purposes.
diffstat:
sys/ddb/db_aout.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r a9d399e9e398 -r 12d4eaaec380 sys/ddb/db_aout.c
--- a/sys/ddb/db_aout.c Sat Jun 05 08:35:45 1999 +0000
+++ b/sys/ddb/db_aout.c Sat Jun 05 08:36:29 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_aout.c,v 1.24 1999/04/29 11:28:42 christos Exp $ */
+/* $NetBSD: db_aout.c,v 1.25 1999/06/05 08:36:29 pk Exp $ */
/*
* Mach Operating System
@@ -141,8 +141,8 @@
if (db_add_symbol_table((char *)sym_start, (char *)sym_end, name,
NULL) != -1) {
- printf("[ preserving %d bytes of %s a.out symbol table ]\n",
- (char *)vesymtab - (char *)vsymtab, name);
+ printf("[ preserving %ld bytes of %s a.out symbol table ]\n",
+ (long)vesymtab - (long)vsymtab, name);
return (TRUE);
}
Home |
Main Index |
Thread Index |
Old Index