diff options
author | NIIBE Yutaka <[email protected]> | 2023-06-30 06:56:43 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-06-30 06:56:43 +0000 |
commit | 250fff0f6eaf95d5cc5b6253a5a68b6c01151394 (patch) | |
tree | 2986e74f7cdb96ada15c0dc3eb4633e8fa8a7c20 /kbx/keybox-errors.c | |
parent | common: Fix the cast for 64-bit Windows. (diff) | |
download | gnupg-250fff0f6eaf95d5cc5b6253a5a68b6c01151394.tar.gz gnupg-250fff0f6eaf95d5cc5b6253a5a68b6c01151394.zip |
common:iobuf: Avoid losing bits of HANDLE on Windows 64-bit.
* common/iobuf.c (translate_file_handle): Change the return type to
gnupg_fd_t, not to lose the bits for HANDLE silently.
(do_iobuf_fdopen): Use the type gnupg_fd_t for the first argument.
(do_open): Use do_iobuf_fdopen instead of iobuf_fdopen.
(iobuf_fdopen, iobuf_fdopen_nc): Follow the change of API.
--
GnuPG-bug-id: 6508
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'kbx/keybox-errors.c')
0 files changed, 0 insertions, 0 deletions