From 24010dc4eb3b634aa76495beb8043ac6ec66c729 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 19 Sep 2021 09:03:45 +0200 Subject: [PATCH] - fixed warning. --- wadext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadext.cpp b/wadext.cpp index 2834950..5266871 100644 --- a/wadext.cpp +++ b/wadext.cpp @@ -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;