diff options
| author | Arthur de Jong <arthur@arthurdejong.org> | 2013-10-29 20:01:30 +0100 |
|---|---|---|
| committer | Arthur de Jong <arthur@arthurdejong.org> | 2013-10-29 23:20:01 +0100 |
| commit | f8af48faa18b6d9017ea64f4df2d6ee2b1743df3 (patch) | |
| tree | c27c3d3932b850c65854ca4b855fbb68d262207b /nslcd/nslcd.c | |
| parent | 88801f9e5a01e580adae4f386c0c755fb2a17b79 (diff) | |
Fix a number of compiler warnings
This includes a number of small fixes for issues that were formerly
masked by the incorrect AC_LANG_PROGRAM check.
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); |
