- fixed warning.

This commit is contained in:
Christoph Oelckers 2021-09-19 09:03:45 +02:00
parent 418f55ccf7
commit 24010dc4eb
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ void GenerateTextureFile(const char *name, const char * pTex, int length, const
int i;
const uint32_t* directory;
if (maxoff < uint32_t(numtextures + 1) * 4)
if (maxoff < (numtextures + 1) * 4)
{
printf("%s: Texture directory is too short\n", name);
return;