Description of problem: I just tried to compile package librsvg2-2.9.5-2 from Redhat Fedora Core development tree with the gcc 4.0.0 compiler and the compiler flag -Wall. The compiler said rsvg-shapes.c:1845: warning: comparisons like X<=Y<=Z do not have their mathematical meaning The source code is if (height * *w > width * *h != (aspect_ratio & RSVG_ASPECT_RATIO_SLICE)) I agree with the compiler. Suggest code rework for maintainability. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
librsvg cvs has added parens there to clarify the meaning.