Skip to content

Fixed sign comparison warning#8294

Merged
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:warning
Aug 7, 2024
Merged

Fixed sign comparison warning#8294
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:warning

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants