light: fix extended texinfo array type

This commit is contained in:
Eric Wasylishen 2016-11-02 17:29:18 -06:00
parent fbeba25bd1
commit 731e46d005
2 changed files with 2 additions and 2 deletions

View File

@ -379,7 +379,7 @@ extern int write_litfile;
extern int write_luxfile;
extern qboolean onlyents;
extern qboolean scaledonly;
extern uint32_t *extended_texinfo_flags;
extern uint64_t *extended_texinfo_flags;
extern qboolean novisapprox;
extern bool nolights;

View File

@ -712,7 +712,7 @@ LoadExtendedTexinfoFlags(const char *sourcefilename, const bsp2_t *bsp)
char filename[1024];
// always create the zero'ed array
extended_texinfo_flags = (uint32_t *) calloc(bsp->numtexinfo, sizeof(uint32_t));
extended_texinfo_flags = static_cast<uint64_t *>(calloc(bsp->numtexinfo, sizeof(uint64_t)));
strcpy(filename, sourcefilename);
StripExtension(filename);