summaryrefslogtreecommitdiffstats
path: root/stream/stream_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_memory.c')
-rw-r--r--stream/stream_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_memory.c b/stream/stream_memory.c
index 7383ff4d6f..e4696a73ad 100644
--- a/stream/stream_memory.c
+++ b/stream/stream_memory.c
@@ -44,7 +44,7 @@ static int64_t get_size(stream_t *s)
return p->data.len;
}
-static int open2(stream_t *stream, struct stream_open_args *args)
+static int open2(stream_t *stream, const struct stream_open_args *args)
{
stream->fill_buffer = fill_buffer;
stream->seek = seek;