summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index fda51ebd..2380a334 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -274,7 +274,7 @@ static cvarTable_t gameCvarTable[ ] =
{ &g_tag, "g_tag", "main", CVAR_INIT, 0, qfalse }
};
-static int gameCvarTableSize = sizeof( gameCvarTable ) / sizeof( gameCvarTable[ 0 ] );
+static size_t gameCvarTableSize = ARRAY_LEN( gameCvarTable );
void G_InitGame( int levelTime, int randomSeed, int restart );