aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index d562338..87bb900 100644
--- a/main.c
+++ b/main.c
@@ -222,7 +222,8 @@ void *main_thread_func(void *args)
struct video *vid = &i->video;
struct pollfd pfd;
short revents;
- int ret, n, finished;
+ unsigned int n, finished;
+ int ret;
pfd.fd = vid->fd;
pfd.events = POLLIN | POLLRDNORM | POLLOUT | POLLWRNORM |