Skip to content

Commit

Permalink
- fixed warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Oelckers committed Sep 19, 2021
1 parent 418f55c commit 24010dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wadext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 24010dc

Please sign in to comment.