From 3cf7d955f32f014ccaa72d6c0be8ced47e7d07b2 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Wed, 22 Jan 2020 10:06:40 +0100 Subject: [PATCH] Update HL1MDLLoader.cpp Fix compiler warning --- code/MDL/HalfLife/HL1MDLLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/MDL/HalfLife/HL1MDLLoader.cpp b/code/MDL/HalfLife/HL1MDLLoader.cpp index 52a5a87e7..f662c7eec 100644 --- a/code/MDL/HalfLife/HL1MDLLoader.cpp +++ b/code/MDL/HalfLife/HL1MDLLoader.cpp @@ -374,7 +374,7 @@ void HL1MDLLoader::read_texture(const Texture_HL1 *ptexture, for (outheight = 1; outheight < ptexture->height; outheight <<= 1) ; - if (outheight > BuffenLen) { + if (static_cast(outheight) > BuffenLen) { outheight = BuffenLen; }