1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +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:
NIIBE Yutaka 2023-07-18 12:07:25 +09:00
parent b849c930e9
commit 81055baf5c
No known key found for this signature in database
GPG key ID: 640114AF89DE6054
3 changed files with 4 additions and 4 deletions

View file

@ -1040,7 +1040,7 @@ do_open (char *line)
HANDLE prochandle, handle, newhandle;
char numbuf[35];
handle = (void*)_get_osfhandle (fd);
handle = (HANDLE)_get_osfhandle (fd);
prochandle = OpenProcess (PROCESS_DUP_HANDLE, FALSE, server_pid);
if (!prochandle)