aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lemon
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-01-13 19:07:48 +0000
committerGuy Harris <guy@alum.mit.edu>2014-01-13 19:07:48 +0000
commit61d5c458a026add4ef45c174504a88a9b37eacb6 (patch)
treec30d48ba337ba8707480cded3553329583027025 /tools/lemon
parentbfde80d3dcaaa70264424bdee8f884a2238fe632 (diff)
Squelch some warnings.
svn path=/trunk/; revision=54711
Diffstat (limited to 'tools/lemon')
-rw-r--r--tools/lemon/lemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lemon/lemon.c b/tools/lemon/lemon.c
index 19a91008cc..7bc9f746c6 100644
--- a/tools/lemon/lemon.c
+++ b/tools/lemon/lemon.c
@@ -4636,8 +4636,8 @@ struct symbol **Symbol_arrayof(void)
/* Compare two configurations */
int Configcmp(const char *_a,const char *_b)
{
- const struct config *a = (struct config *) _a;
- const struct config *b = (struct config *) _b;
+ const struct config *a = (const struct config *) _a;
+ const struct config *b = (const struct config *) _b;
int x;
x = a->rp->index - b->rp->index;
if( x==0 ) x = a->dot - b->dot;