about summary refs log tree commit diff stats
path: root/linux/apps/parse-int.mu
diff options
context:
space:
mode:
Diffstat (limited to 'linux/apps/parse-int.mu')
-rw-r--r--linux/apps/parse-int.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/apps/parse-int.mu b/linux/apps/parse-int.mu
index 0f8c71d1..ccff8d44 100644
--- a/linux/apps/parse-int.mu
+++ b/linux/apps/parse-int.mu
@@ -37,7 +37,7 @@ fn parse-int _in: (addr array byte) -> _/eax: int {
     var tmp/ebx: (addr byte) <- index in, i
     var c/eax: byte <- copy-byte *tmp
     #
-    var g/eax: grapheme <- copy c
+    var g/eax: code-point-utf8 <- copy c
     var digit/eax: int <- to-decimal-digit g
     result <- add digit
     i <- increment