diff options
Diffstat (limited to 'nslcd/nslcd.c')
| -rw-r--r-- | nslcd/nslcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/nslcd.c b/nslcd/nslcd.c index ffa6bea..b5881c4 100644 --- a/nslcd/nslcd.c +++ b/nslcd/nslcd.c @@ -250,7 +250,7 @@ static int create_socket(const char *filename) log_log(LOG_ERR, "cannot create socket: %s", strerror(errno)); exit(EXIT_FAILURE); } - if (sock >= FD_SETSIZE) + if (sock >= (int)FD_SETSIZE) { log_log(LOG_ERR, "socket file descriptor number too high (%d)", sock); exit(EXIT_FAILURE); |
