On Tue, Jun 25, 2013 at 08:10:37PM +0400, Valeriy E. Ushakov wrote: > On Tue, Jun 25, 2013 at 17:54:05 +0200, Thomas Klausner wrote: > > > There are more, e.g. in Mesa. > > external/mit/libX11/dist/src/Font.c:591:29: warning: comparison of constant > > 768614336404564650 with expression of type 'CARD32' (aka 'unsigned int') is > > always true [-Wtautological-constant-out-of-range-compare] > > && reply.nCharInfos < (LONG_MAX / sizeof(XCharStruct)) > > ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Another instance of this is properly fixed in the same file, line 266 :)
Thanks. Fixed and sent upstream. Thomas