Home GnuPG
Diffusion GnuPG 2189b4bb638c

common,w32: Fix handle_to_fd to match use of _open_osfhandle.

Description

common,w32: Fix handle_to_fd to match use of _open_osfhandle.

* common/exechelp-w32.c (handle_to_fd): Use intptr_t.
(gnupg_wait_processes): Fix to use pid_to_handle.

Both of original MinGW and MinGW-W64 use intptr_t for the first
argument of _open_osfhandle. So, intptr_t is better here.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Mar 30 2022, 4:44 AM
Parents
rGd05221065faf: dirmngr: Clean up for not supporting WindowsCE.
Branches
Unknown
Tags
Unknown