aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FICS/gamedb.c4
-rw-r--r--FICS/gamedb.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/FICS/gamedb.c b/FICS/gamedb.c
index b40cd99..064a18a 100644
--- a/FICS/gamedb.c
+++ b/FICS/gamedb.c
@@ -60,7 +60,7 @@
PUBLIC game *garray = NULL;
PUBLIC int g_num = 0;
-PUBLIC const char *bstr[] = {
+PUBLIC const char *bstr[7] = {
[TYPE_UNTIMED] = "untimed",
[TYPE_BLITZ] = "blitz",
[TYPE_STAND] = "standard",
@@ -69,7 +69,7 @@ PUBLIC const char *bstr[] = {
[TYPE_LIGHT] = "lightning",
[TYPE_BUGHOUSE] = "bughouse"
};
-PUBLIC const char *rstr[] = {
+PUBLIC const char *rstr[2] = {
[TYPE_UNRATED] = "unrated",
[TYPE_RATED] = "rated"
};
diff --git a/FICS/gamedb.h b/FICS/gamedb.h
index 5b4ceef..d123028 100644
--- a/FICS/gamedb.h
+++ b/FICS/gamedb.h
@@ -31,8 +31,8 @@
#include "board.h"
-extern const char *bstr[];
-extern const char *rstr[];
+extern const char *bstr[7];
+extern const char *rstr[2];
#define GAMEFILE_VERSION 3
#define MAX_GLINE_SIZE 1024