From 6a5ab0381d0454422f98aa653d8c06b38f592a78 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Wed, 22 Jan 2020 09:46:37 +0100 Subject: [PATCH] Update HL1MDLLoader.cpp Add missing const --- 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 79c7abfc2..52a5a87e7 100644 --- a/code/MDL/HalfLife/HL1MDLLoader.cpp +++ b/code/MDL/HalfLife/HL1MDLLoader.cpp @@ -359,7 +359,7 @@ void HL1MDLLoader::read_texture(const Texture_HL1 *ptexture, aiColor3D &last_palette_color) { int outwidth, outheight; int i, j; - static size_t BuffenLen = 256; + static const size_t BuffenLen = 256; int row1[BuffenLen], row2[BuffenLen], col1[BuffenLen], col2[BuffenLen]; unsigned char *pix1, *pix2, *pix3, *pix4;