about summary refs log tree commit diff stats
path: root/404stream.mu
diff options
context:
space:
mode:
Diffstat (limited to '404stream.mu')
-rw-r--r--404stream.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/404stream.mu b/404stream.mu
index bf4ae883..d0120046 100644
--- a/404stream.mu
+++ b/404stream.mu
@@ -4,7 +4,7 @@ fn test-stream {
   # - write an int to a stream, then read it back
   # step 1: initialize
   var s: (stream int 4)
-  var s2/ecx: (addr stream int 4) <- address s
+  var s2/ecx: (addr stream int) <- address s
   var tmp/eax: boolean <- stream-empty? s2
   check-true tmp, "F - test-stream/empty?/0"
   tmp <- stream-full? s2
@@ -35,7 +35,7 @@ fn test-stream {
 fn test-stream-full {
   # write an int to a stream of capacity 1
   var s: (stream int 1)
-  var s2/ecx: (addr stream int 1) <- address s
+  var s2/ecx: (addr stream int) <- address s
   var tmp/eax: boolean <- stream-full? s2
   check-false tmp, "F - test-stream-full?/pre"
   var x: int