mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
agent: Adjust for changed npth_eselect under W32.
* agent/gpg-agent.c (handle_connections) [W32]: Make events_set an unsigned int to match the changed prototype.
This commit is contained in:
parent
5e1f9b5e14
commit
a1dff86da8
@ -2120,7 +2120,7 @@ handle_connections (gnupg_fd_t listen_fd, gnupg_fd_t listen_fd_ssh)
|
|||||||
struct timespec timeout;
|
struct timespec timeout;
|
||||||
#ifdef HAVE_W32_SYSTEM
|
#ifdef HAVE_W32_SYSTEM
|
||||||
HANDLE events[2];
|
HANDLE events[2];
|
||||||
int events_set;
|
unsigned int events_set;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ret = npth_attr_init(&tattr);
|
ret = npth_attr_init(&tattr);
|
||||||
@ -2219,7 +2219,6 @@ handle_connections (gnupg_fd_t listen_fd, gnupg_fd_t listen_fd_ssh)
|
|||||||
handle_signal (signo);
|
handle_signal (signo);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
events_set = 0;
|
|
||||||
ret = npth_eselect (nfd+1, &read_fdset, NULL, NULL, &timeout,
|
ret = npth_eselect (nfd+1, &read_fdset, NULL, NULL, &timeout,
|
||||||
events, &events_set);
|
events, &events_set);
|
||||||
saved_errno = errno;
|
saved_errno = errno;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user