Prevent occurence of UndefinedBehaviorSanitizer in stb_image
@@ -1495,7 +1495,7 @@ static int stbi__get16le(stbi__context *s)
static stbi__uint32 stbi__get32le(stbi__context *s)
{
stbi__uint32 z = stbi__get16le(s);
- return z + (stbi__get16le(s) << 16);
+ return z + ((stbi__uint32)stbi__get16le(s) << 16);
}
#endif
