summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_lex.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-08 09:11:43 +0000
committerbde <bde@FreeBSD.org>1998-07-08 09:11:43 +0000
commiteee2789d0f37e2119b09abe680d801623369d60a (patch)
treec3527701fe6aa235bb4b89231ea39671543295ab /sys/ddb/db_lex.c
parentb57b07e56004790a6179ed6ca31ba63d47444a49 (diff)
downloadFreeBSD-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_lex.c')
-rw-r--r--sys/ddb/db_lex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_lex.c b/sys/ddb/db_lex.c
index f8fb26c..e66d43d 100644
--- a/sys/ddb/db_lex.c
+++ b/sys/ddb/db_lex.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_lex.c,v 1.15 1998/06/07 17:09:37 dfr Exp $
+ * $Id: db_lex.c,v 1.16 1998/06/27 15:40:56 dfr Exp $
*/
/*
@@ -114,10 +114,10 @@ db_read_token()
return (t);
}
-long db_tok_number;
+db_expr_t db_tok_number;
char db_tok_string[TOK_STRING_SIZE];
-long db_radix = 16;
+db_expr_t db_radix = 16;
void
db_flush_lex()
OpenPOWER on IntegriCloud