From: matthew Date: Sun, 29 Jul 2018 19:15:09 +0000 (+0000) Subject: fixed null return from board_init() X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=b03442fb79a7e95a4df040dab86b4e1a2cd1ecd7;p=csrpg.git fixed null return from board_init() --- diff --git a/common/board.c b/common/board.c index 0ca4510..56c8ef7 100644 --- a/common/board.c +++ b/common/board.c @@ -23,6 +23,7 @@ Board *board_init(int sizex, int sizey) } } + ret = (Board *) b; return ret; }