fix bug#4: comparison of constant -1 with expression of type 'char' is always > true