Avoid left shift of a negative value in flush rank calculation.

The C standard permits an undefined result for a left shift of a
negative value.
1 file changed