loop: Use signed type for fp_get_pollfds() retval

This will be a warning with slightly older versions of libfprint, but at
least it would catch errors.
This commit is contained in:
Bastien Nocera
2018-06-26 15:19:45 +02:00
parent 815256717b
commit 0c76397a6e

View File

@ -168,7 +168,7 @@ static void pollfd_removed_cb(int fd)
int setup_pollfds(void)
{
size_t numfds;
ssize_t numfds;
size_t i;
struct fp_pollfd *fpfds;
GSource *gsource;