Commit 0c76397a authored by Bastien Nocera's avatar Bastien Nocera
Browse files

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.
parent 81525671
...@@ -168,7 +168,7 @@ static void pollfd_removed_cb(int fd) ...@@ -168,7 +168,7 @@ static void pollfd_removed_cb(int fd)
int setup_pollfds(void) int setup_pollfds(void)
{ {
size_t numfds; ssize_t numfds;
size_t i; size_t i;
struct fp_pollfd *fpfds; struct fp_pollfd *fpfds;
GSource *gsource; GSource *gsource;
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