summaryrefslogtreecommitdiffstats
path: root/src/engine-g13.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine-g13.c')
-rw-r--r--src/engine-g13.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine-g13.c b/src/engine-g13.c
index c37800e6..5196d64d 100644
--- a/src/engine-g13.c
+++ b/src/engine-g13.c
@@ -672,7 +672,7 @@ start (engine_g13_t g13, const char *command)
return gpg_error (GPG_ERR_GENERAL); /* FIXME */
/* For now... */
for (i = 0; i < nfds; i++)
- fdlist[i] = (int) afdlist[i];
+ fdlist[i] = (int)(intptr_t)afdlist[i];
/* We "duplicate" the file descriptor, so we can close it here (we
can't close fdlist[0], as that is closed by libassuan, and