From: Ron Koenderink Date: Sun, 19 Feb 2006 21:05:55 +0000 (+0000) Subject: (lchr[], nchr[], mchr[], plchr[]) [_WIN32]: X-Git-Tag: PZ5~18 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=0f23f96fe08d49c4562ea37dec2f9919407a4a00 (lchr[], nchr[], mchr[], plchr[]) [_WIN32]: Add size to array declarations to compile in WIN32. --- diff --git a/src/lib/global/land.c b/src/lib/global/land.c index c0d51e0be..b2f7a7f32 100644 --- a/src/lib/global/land.c +++ b/src/lib/global/land.c @@ -42,4 +42,4 @@ * Table of land unit types * Initialized on startup from land.config and deity custom config (if any). */ -struct lchrstr lchr[]; +struct lchrstr lchr[N_MAXLAND + 1]; diff --git a/src/lib/global/nuke.c b/src/lib/global/nuke.c index ce6a75fbc..f8da09a6b 100644 --- a/src/lib/global/nuke.c +++ b/src/lib/global/nuke.c @@ -40,4 +40,4 @@ * Table of nuke types * Initialized on startup from nuke.config and deity custom config (if any). */ -struct nchrstr nchr[]; +struct nchrstr nchr[N_MAXNUKE + 1]; diff --git a/src/lib/global/plane.c b/src/lib/global/plane.c index 915c602bd..5dd723070 100644 --- a/src/lib/global/plane.c +++ b/src/lib/global/plane.c @@ -44,4 +44,4 @@ * Table of plane types * Initialized on startup from plane.config and deity custom config (if any). */ -struct plchrstr plchr[]; +struct plchrstr plchr[N_MAXPLANE + 1]; diff --git a/src/lib/global/ship.c b/src/lib/global/ship.c index 0c85245f9..79b064654 100644 --- a/src/lib/global/ship.c +++ b/src/lib/global/ship.c @@ -44,4 +44,4 @@ * Table of ship types * Initialized on startup from ship.config and deity custom config (if any). */ -struct mchrstr mchr[]; +struct mchrstr mchr[N_MAXSHIPS + 1];