aboutsummaryrefslogtreecommitdiffstats
path: root/tpm2d/tpm2daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'tpm2d/tpm2daemon.c')
-rw-r--r--tpm2d/tpm2daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpm2d/tpm2daemon.c b/tpm2d/tpm2daemon.c
index 3246cfc9a..383421c30 100644
--- a/tpm2d/tpm2daemon.c
+++ b/tpm2d/tpm2daemon.c
@@ -1154,7 +1154,7 @@ handle_connections (gnupg_fd_t listen_fd)
if (listen_fd != GNUPG_INVALID_FD)
{
FD_SET (FD2INT (listen_fd), &fdset);
- nfd = FD2INT (listen_fd);
+ nfd = FD2NUM (listen_fd);
}
for (;;)