about summary refs log tree commit diff stats
path: root/prototypes/browse/6.mu
diff options
context:
space:
mode:
Diffstat (limited to 'prototypes/browse/6.mu')
-rw-r--r--prototypes/browse/6.mu6
1 files changed, 3 insertions, 3 deletions
diff --git a/prototypes/browse/6.mu b/prototypes/browse/6.mu
index bd51182b..17fda312 100644
--- a/prototypes/browse/6.mu
+++ b/prototypes/browse/6.mu
@@ -1,4 +1,4 @@
-fn main args: (addr array (addr array byte)) -> exit-status/ebx: int {
+fn main args: (addr array addr array byte) -> exit-status/ebx: int {
   var filename/eax: (addr array byte) <- first-arg args
   var file/eax: (addr buffered-file) <- load-file filename
   enable-screen-grid-mode
@@ -71,8 +71,8 @@ fn clear toprow: int, leftcol: int, botrow: int, rightcol: int {
   }
 }
 
-fn first-arg args-on-stack: (addr array (addr array byte)) -> out/eax: (addr array byte) {
-  var args/eax: (addr array (addr array byte)) <- copy args-on-stack
+fn first-arg args-on-stack: (addr array addr array byte) -> out/eax: (addr array byte) {
+  var args/eax: (addr array addr array byte) <- copy args-on-stack
   var result/eax: (addr addr array byte) <- index args, 1
   out <- copy *result
 }