Liebe bugs part2: switch cases are analyzed in long variables, use LONG_MAX and LONG_MIN