diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ddb/db_expr.c | 4 | ||||
-rw-r--r-- | sys/ddb/db_lex.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/ddb/db_expr.c b/sys/ddb/db_expr.c index 64d38e35997..317110fe9db 100644 --- a/sys/ddb/db_expr.c +++ b/sys/ddb/db_expr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_expr.c,v 1.4 1996/04/21 22:19:00 deraadt Exp $ */ +/* $OpenBSD: db_expr.c,v 1.5 1997/07/06 16:45:21 niklas Exp $ */ /* $NetBSD: db_expr.c,v 1.5 1996/02/05 01:56:58 christos Exp $ */ /* @@ -57,7 +57,7 @@ db_term(valuep) return (TRUE); } if (t == tNUMBER) { - *valuep = (db_expr_t)db_tok_number; + *valuep = db_tok_number; return (TRUE); } if (t == tDOT) { diff --git a/sys/ddb/db_lex.h b/sys/ddb/db_lex.h index afd6fcb2fec..bce47ef35f8 100644 --- a/sys/ddb/db_lex.h +++ b/sys/ddb/db_lex.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_lex.h,v 1.4 1996/04/21 22:19:04 deraadt Exp $ */ +/* $OpenBSD: db_lex.h,v 1.5 1997/07/06 16:45:21 niklas Exp $ */ /* $NetBSD: db_lex.h,v 1.7 1996/02/05 01:57:07 christos Exp $ */ /* @@ -42,7 +42,7 @@ int db_read_token __P((void)); void db_flush_lex __P((void)); int db_lex __P((void)); -int db_tok_number; +db_expr_t db_tok_number; #define TOK_STRING_SIZE 120 char db_tok_string[TOK_STRING_SIZE]; int db_radix; |