diff options
author | bde <bde@FreeBSD.org> | 1999-02-12 12:44:19 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-02-12 12:44:19 +0000 |
commit | 5382007cd05622ddb116cc28ef85e850353acb71 (patch) | |
tree | ef6261d7d809292e195ae85c5721700c50ef0d4d /sys/ddb/db_aout.c | |
parent | a24330a338e0b16ec2d489159bfc307d6caa942a (diff) | |
download | FreeBSD-src-5382007cd05622ddb116cc28ef85e850353acb71.zip FreeBSD-src-5382007cd05622ddb116cc28ef85e850353acb71.tar.gz |
Fixed -Wcast-qual warnings.
Diffstat (limited to 'sys/ddb/db_aout.c')
-rw-r--r-- | sys/ddb/db_aout.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/ddb/db_aout.c b/sys/ddb/db_aout.c index 411c42c..3daba33 100644 --- a/sys/ddb/db_aout.c +++ b/sys/ddb/db_aout.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_aout.c,v 1.24 1999/01/27 23:45:37 dillon Exp $ + * $Id: db_aout.c,v 1.25 1999/02/12 12:15:07 bde Exp $ */ /* @@ -204,9 +204,9 @@ X_db_symbol_values(symtab, sym, namep, valuep) const char **namep; db_expr_t *valuep; { - register struct nlist *sp; + register const struct nlist *sp; - sp = (struct nlist *)sym; + sp = (const struct nlist *)sym; if (namep) *namep = sp->n_un.n_name; if (valuep) @@ -294,7 +294,7 @@ X_db_sym_numargs(symtab, cursym, nargp, argnamep) if (cursym == NULL) return FALSE; - addr = ((struct nlist *)cursym)->n_value; + addr = ((const struct nlist *)cursym)->n_value; sp = (struct nlist *)symtab->start; ep = (struct nlist *)symtab->end; |