Don't cause over-/underflow on certain platforms

On mingw 32bit this comparison gives a warning about always being
true, which can only be the case if one of the constant actually
over/underflows.