JuliaLang/julia — pull request #6266 by simonster (2014-03-25 14:35:56+00:00)
Title: Fix #6262

Use an Int for the accumulation variable when iterating over integer types smaller than Int, and the type of the range when iterating over types larger than Int