Fix Unix I/O on 64-bit

db4
Slava Pestov 2008-07-05 03:47:09 -05:00
parent 44c1c1f679
commit 33655a7044
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ M: stdin dispose
: wait-for-stdin ( stdin -- n )
[ control>> CHAR: X over io:stream-write1 io:stream-flush ]
[ size>> "uint" heap-size swap io:stream-read *uint ]
[ size>> "size_t" heap-size swap io:stream-read *uint ]
bi ;
:: refill-stdin ( buffer stdin size -- )