summaryrefslogtreecommitdiffstats
path: root/stream/stream_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_file.c')
-rw-r--r--stream/stream_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/stream_file.c b/stream/stream_file.c
index dd7bfba581..6a46c1c2c7 100644
--- a/stream/stream_file.c
+++ b/stream/stream_file.c
@@ -80,7 +80,7 @@ static int64_t get_size(stream_t *s)
return size == (off_t)-1 ? -1 : size;
}
-static int fill_buffer(stream_t *s, char *buffer, int max_len)
+static int fill_buffer(stream_t *s, void *buffer, int max_len)
{
struct priv *p = s->priv;
@@ -120,7 +120,7 @@ static int fill_buffer(stream_t *s, char *buffer, int max_len)
return 0;
}
-static int write_buffer(stream_t *s, char *buffer, int len)
+static int write_buffer(stream_t *s, void *buffer, int len)
{
struct priv *p = s->priv;
return write(p->fd, buffer, len);