aboutsummaryrefslogtreecommitdiffstats
path: root/kbx
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2023-07-18 03:07:25 +0000
committerNIIBE Yutaka <[email protected]>2023-07-18 03:07:25 +0000
commit81055baf5c31dc3ff0b181994dc7eb883472dafa (patch)
treee582c258acf8f025d710ae7862552f48f61f9d04 /kbx
parentcommon: Introduce FD_DBG to display gnupg_fd_t value. (diff)
downloadgnupg-81055baf5c31dc3ff0b181994dc7eb883472dafa.tar.gz
gnupg-81055baf5c31dc3ff0b181994dc7eb883472dafa.zip
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 <[email protected]>
Diffstat (limited to 'kbx')
-rw-r--r--kbx/kbx-client-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbx/kbx-client-util.c b/kbx/kbx-client-util.c
index 9c7b57f2f..8cd6dc0f3 100644
--- a/kbx/kbx-client-util.c
+++ b/kbx/kbx-client-util.c
@@ -119,7 +119,7 @@ prepare_data_pipe (kbx_client_data_t kcd)
}
#ifdef HAVE_W32_SYSTEM
- err = assuan_sendfd (kcd->ctx, INT2FD (_get_osfhandle (inpipe[1])));
+ err = assuan_sendfd (kcd->ctx, (HANDLE)_get_osfhandle (inpipe[1]));
#else
err = assuan_sendfd (kcd->ctx, inpipe[1]);
#endif