diff options
author | NIIBE Yutaka <[email protected]> | 2023-07-05 04:11:16 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-07-05 04:11:16 +0000 |
commit | 577baf4af3009071ff9f4909f1f40a74ab735d68 (patch) | |
tree | 9b6977fd3e3de5dcc8619dfa1ff642619137e1ae /g10/decrypt.c | |
parent | gpg: Use gnupg_fd_t for decryption and sign. (diff) | |
download | gnupg-577baf4af3009071ff9f4909f1f40a74ab735d68.tar.gz gnupg-577baf4af3009071ff9f4909f1f40a74ab735d68.zip |
gpg: Format the value of type gnupg_fd_t by casting to int.
* g10/openfile.c (open_outfile): Cast to int.
* g10/encrypt.c (encrypt_crypt): Ditto.
* g10/decrypt.c (decrypt_message_fd): Ditto.
--
GnuPG-bug-id: 6580
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | g10/decrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/decrypt.c b/g10/decrypt.c index 26081ed1b..e000ac478 100644 --- a/g10/decrypt.c +++ b/g10/decrypt.c @@ -153,7 +153,7 @@ decrypt_message_fd (ctrl_t ctrl, gnupg_fd_t input_fd, char xname[64]; err = gpg_error_from_syserror (); - snprintf (xname, sizeof xname, "[fd %d]", (int)(intprt_t)output_fd); + snprintf (xname, sizeof xname, "[fd %d]", (int)(intptr_t)output_fd); log_error (_("can't open '%s': %s\n"), xname, gpg_strerror (err)); iobuf_close (fp); release_progress_context (pfx); |