summary refs log tree commit diff
path: root/Src/Modules/zselect.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Modules/zselect.c')
-rw-r--r--Src/Modules/zselect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/zselect.c b/Src/Modules/zselect.c
index ea7396e30..71a0d7e76 100644
--- a/Src/Modules/zselect.c
+++ b/Src/Modules/zselect.c
@@ -42,7 +42,7 @@ handle_digits(char *nam, char *argptr, fd_set *fdset, int *fdmax)
     int fd;
     char *endptr;
 
-    if (!isdigit(STOUC(*argptr))) {
+    if (!idigit(*argptr)) {
 	zwarnnam(nam, "expecting file descriptor: %s", argptr, 0);
 	return 1;
     }