mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
dirmngr,kbk,tools: Fix type casting.
* dirmngr/http.c (send_request): Remove cast which is not needed. * kbx/kbx-client-util.c (prepare_data_pipe): Cast to HANDLE. * tools/gpg-connect-agent.c (do_open): Ditto. -- GnuPG-bug-id: 6508 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
b849c930e9
commit
81055baf5c
3 changed files with 4 additions and 4 deletions
|
@ -2052,7 +2052,7 @@ send_request (ctrl_t ctrl, http_t hd, const char *httphost, const char *auth,
|
|||
/* Until we support send/recv in estream under Windows we need
|
||||
* to use es_fopencookie. */
|
||||
# ifdef HAVE_W32_SYSTEM
|
||||
in = es_fopencookie ((void*)(unsigned int)hd->sock->fd, "rb",
|
||||
in = es_fopencookie (hd->sock->fd, "rb",
|
||||
simple_cookie_functions);
|
||||
# else
|
||||
in = es_fdopen_nc (hd->sock->fd, "rb");
|
||||
|
@ -2065,7 +2065,7 @@ send_request (ctrl_t ctrl, http_t hd, const char *httphost, const char *auth,
|
|||
}
|
||||
|
||||
# ifdef HAVE_W32_SYSTEM
|
||||
out = es_fopencookie ((void*)(unsigned int)hd->sock->fd, "wb",
|
||||
out = es_fopencookie (hd->sock->fd, "wb",
|
||||
simple_cookie_functions);
|
||||
# else
|
||||
out = es_fdopen_nc (hd->sock->fd, "wb");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue