summaryrefslogtreecommitdiffstats
path: root/stream/stream_cb.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_cb.c')
-rw-r--r--stream/stream_cb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/stream/stream_cb.c b/stream/stream_cb.c
index 4496e63255..fa8871ddf6 100644
--- a/stream/stream_cb.c
+++ b/stream/stream_cb.c
@@ -31,7 +31,7 @@ static int fill_buffer(stream_t *s, char *buffer, int max_len)
static int seek(stream_t *s, int64_t newpos)
{
struct priv *p = s->priv;
- return (int)p->info.seek_fn(p->info.cookie, newpos) >= 0;
+ return p->info.seek_fn(p->info.cookie, newpos) >= 0;
}
static int control(stream_t *s, int cmd, void *arg)
@@ -104,5 +104,4 @@ static int open_cb(stream_t *stream)
const stream_info_t stream_info_cb = {
.name = "stream_callback",
.open = open_cb,
- .protocols = (const char*const[]){ "*", NULL },
};