engine: common: cfgscript.c: change wrong variable type to fix compilation.

This commit is contained in:
Andrey Akhmichin 2019-12-01 19:06:12 +05:00 committed by Alibek Omarov
parent fec0a6baf6
commit 6f2b559c5a
1 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ int CSCR_WriteGameCVars( file_t *cfg, const char *scriptfilename )
parserstate_t state = { 0 };
qboolean success = false;
int count = 0;
long length = 0;
fs_offset_t length = 0;
char *start;
state.filename = scriptfilename;
@ -284,7 +284,7 @@ int CSCR_LoadDefaultCVars( const char *scriptfilename )
parserstate_t state = { 0 };
qboolean success = false;
int count = 0;
long length = 0;
fs_offset_t length = 0;
char *start;
state.filename = scriptfilename;