diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2007-03-22 23:50:38 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2007-03-22 23:50:38 +0000 |
commit | e28d403669fe76d68fbaf0642d9cd7200fff871c (patch) | |
tree | 9b99b9e2fedf5823d93656c1919179b07d1c3b39 /tools | |
parent | 13ae3f5dfc8d300ceb61ec91ac69e0b2b5e8683f (diff) |
add type casts to fix two warnings
svn path=/trunk/; revision=21137
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lemon/lemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lemon/lemon.c b/tools/lemon/lemon.c index bb60aea252..94ee6a631d 100644 --- a/tools/lemon/lemon.c +++ b/tools/lemon/lemon.c @@ -4317,8 +4317,8 @@ struct symbol *Symbol_new(const char *x) ** smallest parser tables in SQLite. */ int Symbolcmpp(const void *a_arg, const void *b_arg){ - struct symbol *const *a = a_arg; - struct symbol *const *b = b_arg; + struct symbol *const *a = (struct symbol *const *) a_arg; + struct symbol *const *b = (struct symbol *const *) b_arg; int i1 = (**a).index + 10000000*((**a).name[0]>'Z'); int i2 = (**b).index + 10000000*((**b).name[0]>'Z'); return i1-i2; |