Fix for warning 4244. Cast to short
This commit is contained in:
parent
a7c8694d69
commit
a2df517a1a
@ -1768,7 +1768,7 @@ static int stbi__jpeg_decode_block_prog_ac(stbi__jpeg *j, short data[64], stbi__
|
|||||||
} else {
|
} else {
|
||||||
if (r == 0) {
|
if (r == 0) {
|
||||||
if (s)
|
if (s)
|
||||||
data[stbi__jpeg_dezigzag[k++]] = s;
|
data[stbi__jpeg_dezigzag[k++]] = (short) s;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
--r;
|
--r;
|
||||||
|
Loading…
Reference in New Issue
Block a user