Skip to content

Commit

Permalink
Update Int64Helper.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeGuyWhoLovesCoding authored Aug 23, 2024
1 parent 9dcfa3d commit 0c0d203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/haxe/Int64Helper.hx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Int64Helper {
var len = s.length;

for (i in 0...len) {
var digitInt = s.charCodeAt((len - 1) - i) - '0'.code;
var digitInt = s.charCodeAt(len - 1 - i) - '0'.code;

if (digitInt < 0 || digitInt > 9) {
throw "NumberFormatError";
Expand Down

0 comments on commit 0c0d203

Please sign in to comment.