mirror of https://github.com/ZDoom/wadext.git
- fixed warning.
This commit is contained in:
parent
418f55ccf7
commit
24010dc4eb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue