aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine-assuan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine-assuan.c')
-rw-r--r--src/engine-assuan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine-assuan.c b/src/engine-assuan.c
index 654d41c8..599a967b 100644
--- a/src/engine-assuan.c
+++ b/src/engine-assuan.c
@@ -716,7 +716,7 @@ start (engine_llass_t llass, 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