From 91cc57a4a12997a72c2ec643f3560ad998daa87b Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 15 Jun 2010 14:59:50 -0600 Subject: Fix some -Wextra warnings. --- dimension/tokenize.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dimension/tokenize.c') diff --git a/dimension/tokenize.c b/dimension/tokenize.c index 98253ce..48d0958 100644 --- a/dimension/tokenize.c +++ b/dimension/tokenize.c @@ -26,13 +26,13 @@ #include typedef struct dmnsn_buffered_token { - int type; + dmnsn_token_type type; dmnsn_parse_item lval; dmnsn_parse_location lloc; } dmnsn_buffered_token; typedef struct dmnsn_token_buffer { - int type; + dmnsn_token_type type; /* Indicate that the first token should be returned as-is */ #define DMNSN_T_LEX_VERBATIM DMNSN_T_EOF @@ -47,7 +47,7 @@ typedef struct dmnsn_token_buffer { } dmnsn_token_buffer; static dmnsn_token_buffer * -dmnsn_new_token_buffer(dmnsn_parse_location lloc, int type, +dmnsn_new_token_buffer(dmnsn_parse_location lloc, dmnsn_token_type type, dmnsn_token_buffer *prev, const char *filename) { dmnsn_token_buffer *tbuffer = dmnsn_malloc(sizeof(dmnsn_token_buffer)); -- cgit v1.2.3