python-pillow / Pillow

Python Imaging Library (Fork)
https://python-pillow.org
Other
12.33k stars 2.24k forks source link

Fixed sign comparison warning #8294

Closed radarhere closed 3 months ago

radarhere commented 3 months ago

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++) { ~ ^ ~~~