diff options
Diffstat (limited to 'core/io/util.odin')
| -rw-r--r-- | core/io/util.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/util.odin b/core/io/util.odin index a956a5975..86a89cfb1 100644 --- a/core/io/util.odin +++ b/core/io/util.odin @@ -354,7 +354,7 @@ _tee_reader_proc :: proc(stream_data: rawptr, mode: Stream_Mode, p: []byte, offs case .Query: return query_utility({.Read, .Query}) } - return 0, .Empty + return 0, .Unsupported } // tee_reader_init returns a Reader that writes to 'w' what it reads from 'r' @@ -404,7 +404,7 @@ _limited_reader_proc :: proc(stream_data: rawptr, mode: Stream_Mode, p: []byte, case .Query: return query_utility({.Read, .Query}) } - return 0, .Empty + return 0, .Unsupported } limited_reader_init :: proc(l: ^Limited_Reader, r: Reader, n: i64) -> Reader { |