Commit 833b0c76 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

hls: Cosmetics: removing useless casts.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 75fbc4d4
...@@ -293,7 +293,7 @@ static hls_stream_t *hls_Get(vlc_array_t *hls_stream, const int wanted) ...@@ -293,7 +293,7 @@ static hls_stream_t *hls_Get(vlc_array_t *hls_stream, const int wanted)
static inline hls_stream_t *hls_GetFirst(vlc_array_t *hls_stream) static inline hls_stream_t *hls_GetFirst(vlc_array_t *hls_stream)
{ {
return (hls_stream_t*) hls_Get(hls_stream, 0); return hls_Get(hls_stream, 0);
} }
static hls_stream_t *hls_GetLast(vlc_array_t *hls_stream) static hls_stream_t *hls_GetLast(vlc_array_t *hls_stream)
...@@ -302,7 +302,7 @@ static hls_stream_t *hls_GetLast(vlc_array_t *hls_stream) ...@@ -302,7 +302,7 @@ static hls_stream_t *hls_GetLast(vlc_array_t *hls_stream)
if (count <= 0) if (count <= 0)
return NULL; return NULL;
count--; count--;
return (hls_stream_t *) hls_Get(hls_stream, count); return hls_Get(hls_stream, count);
} }
static hls_stream_t *hls_Find(vlc_array_t *hls_stream, hls_stream_t *hls_new) static hls_stream_t *hls_Find(vlc_array_t *hls_stream, hls_stream_t *hls_new)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment