mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
poll: Fix compiler warning about constness
passing argument 1 of 'g_mutex_lock' discards 'const' qualifier from pointer target type passing argument 1 of 'g_mutex_unlock' discards 'const' qualifier from pointer target type
This commit is contained in:
parent
28604c197b
commit
3690f9a830
1 changed files with 2 additions and 2 deletions
|
@ -271,7 +271,7 @@ find_index (GArray * array, GstPollFD * fd)
|
|||
#if !defined(HAVE_PPOLL) && defined(HAVE_POLL)
|
||||
/* check if all file descriptors will fit in an fd_set */
|
||||
static gboolean
|
||||
selectable_fds (const GstPoll * set)
|
||||
selectable_fds (GstPoll * set)
|
||||
{
|
||||
guint i;
|
||||
|
||||
|
@ -311,7 +311,7 @@ pollable_timeout (GstClockTime timeout)
|
|||
#endif
|
||||
|
||||
static GstPollMode
|
||||
choose_mode (const GstPoll * set, GstClockTime timeout)
|
||||
choose_mode (GstPoll * set, GstClockTime timeout)
|
||||
{
|
||||
GstPollMode mode;
|
||||
|
||||
|
|
Loading…
Reference in a new issue