Skip to content

Commit

Permalink
stream: remove pointless cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Denis-Courmont committed Jun 26, 2014
1 parent 01db92a commit f704267
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/input/stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,9 @@ stream_t *stream_AccessNew( access_t *p_access, char **ppsz_list )
return NULL;
}

s->pf_read = (void *)AStreamGenericError; /* Replaced later */
s->pf_peek = (void *)AStreamGenericError;
s->pf_readdir = (void *)AStreamGenericError;
s->pf_read = AStreamGenericError; /* Replaced later */
s->pf_peek = AStreamGenericError;
s->pf_readdir = AStreamGenericError;
s->pf_control = AStreamControl;
s->pf_destroy = AStreamDestroy;

Expand Down

0 comments on commit f704267

Please sign in to comment.