aboutsummaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
Diffstat (limited to 'scd')
-rw-r--r--scd/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/app.c b/scd/app.c
index 9d838cff0..e78268b50 100644
--- a/scd/app.c
+++ b/scd/app.c
@@ -403,7 +403,7 @@ card_list_wait (ctrl_t ctrl)
{
FD_ZERO (&fdset);
FD_SET (FD2INT (fd), &fdset);
- nfd = FD2NUM (fd);
+ nfd = FD2INT (fd);
#ifdef HAVE_W32_SYSTEM
ret = npth_eselect (nfd+1, &fdset, NULL, NULL, NULL,