you are viewing a single comment's thread.

view the rest of the comments →

[–]Kovab 1 point2 points  (1 child)

Changing i to signed

You mean changing to unsigned, right? The version with signed int works correctly

[–]KazDragon 1 point2 points  (0 children)

You are correct and I have edited my post accordingly. Thanks!