mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
poll: Fix fp_get_pollfds retval type
fp_get_pollfds() is supposed to return a negative value on failure, but size_t is an unsigned integer. Use ssize_t instead.
This commit is contained in:
@@ -314,7 +314,7 @@ struct fp_pollfd {
|
||||
|
||||
int fp_handle_events_timeout(struct timeval *timeout);
|
||||
int fp_handle_events(void);
|
||||
size_t fp_get_pollfds(struct fp_pollfd **pollfds);
|
||||
ssize_t fp_get_pollfds(struct fp_pollfd **pollfds);
|
||||
int fp_get_next_timeout(struct timeval *tv);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user