Re: warnings in pax

2017-09-06 Thread Alexander Bluhm
On Wed, Sep 06, 2017 at 04:25:55PM +0200, Otto Moerbeek wrote: > clang complains about a quite some signed compares in pax. This fixes > a few of them, all of the form > > if (var < sizeof(...)) > > where var is an int. > > Here a conversion of the int value to unsigned takes place, due to

warnings in pax

2017-09-06 Thread Otto Moerbeek
Hi, clang complains about a quite some signed compares in pax. This fixes a few of them, all of the form if (var < sizeof(...)) where var is an int. Here a conversion of the int value to unsigned takes place, due to the conversion rules. This causes negative values of var not to be caug