summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_aout.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-02-12 12:44:19 +0000
committerbde <bde@FreeBSD.org>1999-02-12 12:44:19 +0000
commit5382007cd05622ddb116cc28ef85e850353acb71 (patch)
treeef6261d7d809292e195ae85c5721700c50ef0d4d /sys/ddb/db_aout.c
parenta24330a338e0b16ec2d489159bfc307d6caa942a (diff)
downloadFreeBSD-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.c8
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;
OpenPOWER on IntegriCloud