aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/input_stream.c2
-rw-r--r--src/input_stream.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/input_stream.c b/src/input_stream.c
index e4f5626c6..86c0b9246 100644
--- a/src/input_stream.c
+++ b/src/input_stream.c
@@ -52,7 +52,7 @@ void input_stream_global_finish(void)
}
bool
-input_stream_open(struct input_stream *is, char *url)
+input_stream_open(struct input_stream *is, const char *url)
{
is->seekable = false;
is->ready = false;
diff --git a/src/input_stream.h b/src/input_stream.h
index dc1739dde..c8d8068d3 100644
--- a/src/input_stream.h
+++ b/src/input_stream.h
@@ -57,7 +57,7 @@ void input_stream_global_finish(void);
/* if an error occurs for these 3 functions, then -1 is returned and errno
for the input stream is set */
bool
-input_stream_open(struct input_stream *is, char *url);
+input_stream_open(struct input_stream *is, const char *url);
bool
input_stream_seek(struct input_stream *is, off_t offset, int whence);