aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FICS/gamedb.c2
-rw-r--r--FICS/gamedb.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/FICS/gamedb.c b/FICS/gamedb.c
index c34f137..8723dc4 100644
--- a/FICS/gamedb.c
+++ b/FICS/gamedb.c
@@ -66,7 +66,7 @@ PUBLIC const char *bstr[] = {
[TYPE_LIGHT] = "lightning",
[TYPE_BUGHOUSE] = "bughouse"
};
-PUBLIC char *rstr[] = {
+PUBLIC const char *rstr[] = {
[TYPE_UNRATED] = "unrated",
[TYPE_RATED] = "rated"
};
diff --git a/FICS/gamedb.h b/FICS/gamedb.h
index edcfcdc..5b4ceef 100644
--- a/FICS/gamedb.h
+++ b/FICS/gamedb.h
@@ -32,7 +32,7 @@
#include "board.h"
extern const char *bstr[];
-extern char *rstr[];
+extern const char *rstr[];
#define GAMEFILE_VERSION 3
#define MAX_GLINE_SIZE 1024