fix overflow
compile error
Merge pull request #2 from joepickrell/fix_overflow

Fix overflow