parent
b74b96fca4
commit
e569831253
|
@ -367,7 +367,7 @@ void HL1MDLLoader::read_texture(const Texture_HL1 *ptexture,
|
|||
for (outwidth = 1; outwidth < ptexture->width; outwidth <<= 1)
|
||||
;
|
||||
|
||||
if ((size_t)outwidth > BuffenLen) {
|
||||
if ( outwidth > static_cast<int>(BuffenLen)) {
|
||||
outwidth = BuffenLen;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue