Skip to content

Conversation

@radarhere
Copy link
Member

Resolves #4586

Current warnings - https://github.com/python-pillow/Pillow/runs/1595213891#step:9:25 and https://github.com/python-pillow/Pillow/runs/1595213891#step:9:94

These changes are both for im->image. Casting from im->image to UINT8* is done multiple times in Convert.c, so this PR casts here as well.

UINT8* in = (UINT8*) imIn->image[y];

(*convert)((UINT8*) imOut->image[y], (UINT8*) imIn->image[y],

(*convert)((UINT8*) imOut->image[y], (UINT8*) imIn->image[y],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7.1.2: gcc 10 warnings

2 participants