aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/obsproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/obsproc.c')
-rw-r--r--FICS/obsproc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/FICS/obsproc.c b/FICS/obsproc.c
index 5a99b75..6a41e6c 100644
--- a/FICS/obsproc.c
+++ b/FICS/obsproc.c
@@ -826,7 +826,8 @@ ExamineScratch(int p, param_list param)
garray[g].white_rating = garray[g].black_rating =
parray[p].s_stats.rating;
send_boards(g);
- MakeFENpos(g, (char *)garray[g].FENstartPos);
+ MakeFENpos(g, (char *)garray[g].FENstartPos,
+ ARRAY_SIZE(garray[g].FENstartPos));
}
PRIVATE int
@@ -879,7 +880,8 @@ ExamineStored(FILE *fp, int p, char *filename)
parray[p].side = WHITE;
send_boards(g);
- MakeFENpos(g, (char *)garray[g].FENstartPos);
+ MakeFENpos(g, (char *)garray[g].FENstartPos,
+ ARRAY_SIZE(garray[g].FENstartPos));
return g;
}