aboutsummaryrefslogtreecommitdiff
path: root/core/compress/common.odin
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-06-08 16:38:57 +0100
committergingerBill <bill@gingerbill.org>2023-06-08 16:38:57 +0100
commit9ee4b76cd950e5eef9d480831670ae7bcff64775 (patch)
treeb3dd5c9074cf1c26ff2e169fe2b92c7998ce6e48 /core/compress/common.odin
parent3f6775e29b2378d189cca72733cf8953681281e4 (diff)
Just make the `io.Reader` etc aliases
Diffstat (limited to 'core/compress/common.odin')
-rw-r--r--core/compress/common.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/compress/common.odin b/core/compress/common.odin
index 2d00ed359..bc56229c2 100644
--- a/core/compress/common.odin
+++ b/core/compress/common.odin
@@ -216,7 +216,7 @@ read_slice_from_stream :: #force_inline proc(z: ^Context_Stream_Input, size: int
// TODO: REMOVE ALL USE OF context.temp_allocator here
// the is literally no need for it
b := make([]u8, size, context.temp_allocator)
- _, e := io.read({z.input}, b[:])
+ _, e := io.read(z.input, b[:])
if e == .None {
return b, .None
}