Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed comparison warnings #5970

Merged
merged 1 commit into from Mar 27, 2022
Merged

Fixed comparison warnings #5970

merged 1 commit into from Mar 27, 2022

Conversation

radarhere
Copy link
Member

Running pip install -v . on my macOS machine, I see

  src/libImaging/TiffDecode.c:654:51: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
      if (state->xsize != img_width || state->ysize != img_height) {
                                       ~~~~~~~~~~~~ ^  ~~~~~~~~~~
  src/libImaging/TiffDecode.c:654:22: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
      if (state->xsize != img_width || state->ysize != img_height) {
          ~~~~~~~~~~~~ ^  ~~~~~~~~~
  2 warnings generated.

This PR fixes those warnings.

@radarhere radarhere added the TIFF label Jan 18, 2022
@hugovk hugovk merged commit 35e1932 into python-pillow:main Mar 27, 2022
@radarhere radarhere deleted the warnings branch March 29, 2022 10: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.

None yet

2 participants