aboutsummaryrefslogtreecommitdiffstats
path: root/g10/decrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/decrypt.c')
-rw-r--r--g10/decrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/decrypt.c b/g10/decrypt.c
index 065601b7b..cb9e36a93 100644
--- a/g10/decrypt.c
+++ b/g10/decrypt.c
@@ -120,7 +120,7 @@ decrypt_message_fd (ctrl_t ctrl, int input_fd, int output_fd)
pfx = new_progress_context ();
/* Open the message file. */
- fp = iobuf_fdopen_nc (FD2INT(input_fd), "rb");
+ fp = iobuf_fdopen_nc (input_fd, "rb");
if (fp && is_secured_file (iobuf_get_fd (fp)))
{
iobuf_close (fp);