summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-11-12 23:05:56 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-11-12 23:06:34 +1300
commit89b2e79e92cb1e282219138c4325cbd4a612b029 (patch)
treefa398a55fe907ef3c0874ac7c7fb88a3ca83f23a
parentCopy from local variable, don't reference it (diff)
downloadtexad-89b2e79e92cb1e282219138c4325cbd4a612b029.tar.gz
texad-89b2e79e92cb1e282219138c4325cbd4a612b029.zip
Remove implicit array bound
-rw-r--r--texad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/texad.c b/texad.c
index fec3cc6..d6a6d17 100644
--- a/texad.c
+++ b/texad.c
@@ -46,7 +46,7 @@ struct world *genesis(void)
d[3]->src = r[2];
d[3]->dst = r[1];
- struct door *ds[3][3] = {
+ struct door *ds[][3] = {
{d[0], NULL, NULL},
{d[1], d[2], NULL},
{d[3], NULL, NULL}