Fixed const correctness of RECTANGLE_16 variable
This commit is contained in:
parent
87e89bc719
commit
9549d090ab
@ -2510,7 +2510,7 @@ int progressive_compress(PROGRESSIVE_CONTEXT* progressive, const BYTE* pSrcData,
|
|||||||
rects = (RFX_RECT*)Stream_Buffer(progressive->rects);
|
rects = (RFX_RECT*)Stream_Buffer(progressive->rects);
|
||||||
if (invalidRegion)
|
if (invalidRegion)
|
||||||
{
|
{
|
||||||
RECTANGLE_16* r = region16_rects(invalidRegion, NULL);
|
const RECTANGLE_16* r = region16_rects(invalidRegion, NULL);
|
||||||
for (x = 0; x < numRects; x++)
|
for (x = 0; x < numRects; x++)
|
||||||
{
|
{
|
||||||
rects[x].x = r[x].left;
|
rects[x].x = r[x].left;
|
||||||
|
Loading…
Reference in New Issue
Block a user