diff --git a/core/compress/gzip/doc.odin b/core/compress/gzip/doc.odin index e4b1929dd..e8185482c 100644 --- a/core/compress/gzip/doc.odin +++ b/core/compress/gzip/doc.odin @@ -53,7 +53,7 @@ Example: if file == "-" { // Read from stdin ctx := &compress.Context_Stream_Input{ - input = os.stdin.stream, + input = os.to_stream(os.stdin), } err = gzip.load(ctx, &buf) } else {