summaryrefslogtreecommitdiffstats
path: root/stream/stream_slice.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_slice.c')
-rw-r--r--stream/stream_slice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_slice.c b/stream/stream_slice.c
index 8bf80943eb..c0dbeeb2af 100644
--- a/stream/stream_slice.c
+++ b/stream/stream_slice.c
@@ -136,7 +136,7 @@ static int parse_slice_range(stream_t *stream)
return STREAM_OK;
}
-static int open2(struct stream *stream, struct stream_open_args *args)
+static int open2(struct stream *stream, const struct stream_open_args *args)
{
struct priv *p = talloc_zero(stream, struct priv);
stream->priv = p;