diff options
author | bde <bde@FreeBSD.org> | 1998-07-08 09:11:43 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-08 09:11:43 +0000 |
commit | eee2789d0f37e2119b09abe680d801623369d60a (patch) | |
tree | c3527701fe6aa235bb4b89231ea39671543295ab /sys/ddb/db_variables.c | |
parent | b57b07e56004790a6179ed6ca31ba63d47444a49 (diff) | |
download | FreeBSD-src-eee2789d0f37e2119b09abe680d801623369d60a.zip FreeBSD-src-eee2789d0f37e2119b09abe680d801623369d60a.tar.gz |
Fixed bogus type of valuep in struct db_variable. It was `int *' and
became `long *' for alpha, but should always have been `db_expr_t *'.
Fixed variable types to match.
Diffstat (limited to 'sys/ddb/db_variables.c')
-rw-r--r-- | sys/ddb/db_variables.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_variables.c b/sys/ddb/db_variables.c index 74a45bb..7cd6ee4 100644 --- a/sys/ddb/db_variables.c +++ b/sys/ddb/db_variables.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_variables.c,v 1.14 1997/06/14 11:52:37 bde Exp $ + * $Id: db_variables.c,v 1.15 1998/06/07 17:09:38 dfr Exp $ */ /* @@ -46,7 +46,7 @@ static int db_set_variable __P((db_expr_t value)); static struct db_variable db_vars[] = { { "radix", &db_radix, FCN_NULL }, - { "maxoff", (long *)&db_maxoff, FCN_NULL }, + { "maxoff", &db_maxoff, FCN_NULL }, { "maxwidth", &db_max_width, FCN_NULL }, { "tabstops", &db_tab_stop_width, FCN_NULL }, }; |