mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 02:02:26 +00:00
alsamixer: Store return values of poll functions in a signed integer
Negative return values are used for errors and storing them in an unsigned integer will make it impossible to detect the errors. Fixes bug #644845.
This commit is contained in:
parent
a38fd9f9ec
commit
185a8ddcaa
1 changed files with 9 additions and 9 deletions
|
@ -416,7 +416,7 @@ static void
|
|||
task_monitor_alsa (gpointer data)
|
||||
{
|
||||
struct pollfd *pfds;
|
||||
unsigned int nfds, rnfds;
|
||||
int nfds, rnfds;
|
||||
unsigned short revents;
|
||||
GstAlsaMixer *mixer = (GstAlsaMixer *) data;
|
||||
gint ret;
|
||||
|
|
Loading…
Reference in a new issue