aboutsummaryrefslogtreecommitdiff
path: root/core/bytes
diff options
context:
space:
mode:
Diffstat (limited to 'core/bytes')
-rw-r--r--core/bytes/buffer.odin2
-rw-r--r--core/bytes/reader.odin2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/bytes/buffer.odin b/core/bytes/buffer.odin
index f4d883353..dd4b378c0 100644
--- a/core/bytes/buffer.odin
+++ b/core/bytes/buffer.odin
@@ -434,5 +434,5 @@ _buffer_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byte, offse
case .Query:
return io.query_utility({.Read, .Read_At, .Write, .Write_At, .Seek, .Size, .Destroy, .Query})
}
- return 0, .Empty
+ return 0, .Unsupported
}
diff --git a/core/bytes/reader.odin b/core/bytes/reader.odin
index 2e1c5ed42..184f93835 100644
--- a/core/bytes/reader.odin
+++ b/core/bytes/reader.odin
@@ -160,6 +160,6 @@ _reader_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byte, offse
case .Query:
return io.query_utility({.Read, .Read_At, .Seek, .Size, .Query})
}
- return 0, .Empty
+ return 0, .Unsupported
}