Fixed sign comparison warning by radarhere · Pull Request #8294 · python-pillow/Pillow

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@radarhere

Copy link Copy Markdown

Member

https://github.com/python-pillow/Pillow/actions/runs/10280498668/job/28447977337#step:11:240

src/_imagingft.c:1246:23: warning: comparison of integers of different signs: 'int' and 'FT_UInt' (aka 'unsigned int') [-Wsign-compare]
for (int i = 0; i < num_namedstyles; i++) {
~ ^ ~~~~~~~~~~~~~~~
1 warning generated.
src/_imagingft.c:1246:23: warning: comparison of integers of different signs: 'int' and 'FT_UInt' (aka 'unsigned int') [-Wsign-compare]
for (int i = 0; i < num_namedstyles; i++) {
~ ^ ~~~~~~~~~~~~~~~

@hugovk hugovk added the Cleanup label

Aug 7, 2024

@hugovk hugovk merged commit 2e23dc5 into python-pillow:main

Aug 7, 2024

@radarhere radarhere deleted the warning branch

August 7, 2024 20:42

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

Reviewers

1 more reviewer

@akx akx akx approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@radarhere @akx @hugovk