Yes, someone else did actually.
The problem is improper conversion of numbers. Just force a typecast of any constant numbers into the type they're being compared to--this includes casual constants that aren't named. As soon as you do this the problem vanishes faster than a goblin in a lava pit.
Bookmarks