Home GnuPG
Diffusion GnuPG 6049d61991a1

common: Fix the cast for 64-bit Windows.

Description

common: Fix the cast for 64-bit Windows.

* common/sysutils.c (translate_sys2libc_fd_int): Fix the cast.

FD should have a valid value here. For erroneous cases, it must be
rejected by argparse handling.

  • GnuPG-bug-id: T6551
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jun 29 2023, 7:04 AM
Parents
rG3672c29156e3: common: Raise an error correctly in check_special_filename.
Branches
Unknown
Tags
Unknown
Tasks
T6551: translate_sys2libc_fd_int on Windows 64-bit