diff options
Diffstat (limited to 'libidu/scanners.h')
-rw-r--r-- | libidu/scanners.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libidu/scanners.h b/libidu/scanners.h index c30e95f..68c357b 100644 --- a/libidu/scanners.h +++ b/libidu/scanners.h @@ -1,5 +1,5 @@ /* scanners.h -- defs for interface to scanners.c - Copyright (C) 1986, 1995, 1996, 1999, 2007 Free Software Foundation, Inc. + Copyright (C) 1986, 1995, 1996, 1999, 2007-2008 Free Software Foundation, Inc. Written by Greg McGary <gkm@gnu.ai.mit.edu> This program is free software; you can redistribute it and/or modify @@ -32,7 +32,7 @@ struct token }; #define TOKEN_HITS(TOKEN) ((TOKEN)->tok_hits_name) -#define TOKEN_NAME(TOKEN) ((TOKEN)->tok_hits_name + log_8_member_files) +#define TOKEN_NAME(TOKEN) (char *)((TOKEN)->tok_hits_name + log_8_member_files) #define OFFSETOF_TOKEN_NAME (offsetof (struct token, tok_hits_name) + log_8_member_files) typedef struct token *(*get_token_func_t) (FILE *in_FILE, void const *args, int *flags); |