about summary refs log tree commit diff stats
path: root/075channel.mu
diff options
context:
space:
mode:
Diffstat (limited to '075channel.mu')
-rw-r--r--075channel.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/075channel.mu b/075channel.mu
index c1d2d5f3..da5ca7e2 100644
--- a/075channel.mu
+++ b/075channel.mu
@@ -391,7 +391,7 @@ def buffer-lines in:&:source:char, buffered-out:&:sink:char -> buffered-out:&:si
   # repeat forever
   eof?:bool <- copy 0/false
   {
-    line:&:buffer <- new-buffer 30
+    line:&:buffer:char <- new-buffer 30
     # read characters from 'in' until newline, copy into line
     {
       +next-character
@@ -487,7 +487,7 @@ F buffer-lines-blocks-until-newline: channel should contain data after writing n
 def drain source:&:source:char -> result:text, source:&:source:char [
   local-scope
   load-ingredients
-  buf:&:buffer <- new-buffer 30
+  buf:&:buffer:char <- new-buffer 30
   {
     c:char, done?:bool <- read source
     break-if done?