summaryrefslogtreecommitdiff
path: root/sys/ddb/db_aout.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-07-08 10:48:33 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-07-08 10:48:33 +0000
commit0427110e4f7e3d1cd4951a5d4ed7e1bc94637259 (patch)
treeb0d6ec4717c57c56f6c9eef0c3a35d9d3c4f34b7 /sys/ddb/db_aout.c
parentccd6fc9178847141a460dbc67c20f8c222c3c1da (diff)
Let the count of symbols be long, so the nlist array will get proper
alignment everywhere.
Diffstat (limited to 'sys/ddb/db_aout.c')
-rw-r--r--sys/ddb/db_aout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_aout.c b/sys/ddb/db_aout.c
index c8b8c009b66..ec4f589c066 100644
--- a/sys/ddb/db_aout.c
+++ b/sys/ddb/db_aout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_aout.c,v 1.18 1997/06/12 03:46:57 mickey Exp $ */
+/* $OpenBSD: db_aout.c,v 1.19 1997/07/08 10:48:32 niklas Exp $ */
/* $NetBSD: db_aout.c,v 1.14 1996/02/27 20:54:43 gwr Exp $ */
/*
@@ -68,7 +68,7 @@ int db_symtab[SYMTAB_SPACE/sizeof(int)] = { 0, 1 };
*/
void
X_db_sym_init(symtab, esymtab, name)
- int *symtab; /* pointer to start of symbol table */
+ long *symtab; /* pointer to start of symbol table */
char *esymtab; /* pointer to end of string table,
for checking - rounded up to integer
boundary */
@@ -437,7 +437,7 @@ ddb_init()
db_sym_init();
if (esym > (char *)&end) {
- X_db_sym_init((int *)&end, esym, "bsd");
+ X_db_sym_init((long *)&end, esym, "bsd");
}
#else
db_sym_init();