(init_learn): fix discard of "const" qualifier from pointer target type assignment.
authorAndrew Borodin <aborodin@vmail.ru>
Thu, 20 Dec 2012 12:38:06 +0000 (20 16:38 +0400)
committerAndrew Borodin <aborodin@vmail.ru>
Thu, 20 Dec 2012 12:38:06 +0000 (20 16:38 +0400)
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/learn.c

index 3886fd7..ca006f3 100644 (file)
@@ -296,7 +296,7 @@ init_learn (void)
     for (i = 0; i < learn_total; i++)
     {
         char buffer[BUF_TINY];
-        char *label;
+        const char *label;
         int padding;
 
         learnkeys[i].ok = FALSE;