diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-01 22:41:32 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-01 22:41:32 +0000 |
commit | 1433a0b26fcc1e48ac8001c5438e00d140dbf2a9 (patch) | |
tree | 66fa129092dd543ad4e89790d2f02b402d1a00ee /src/common/compat.c | |
parent | 037fba75956160fb89218ffca6cc075328e9c3a6 (diff) | |
download | tor-1433a0b26fcc1e48ac8001c5438e00d140dbf2a9.tar.gz tor-1433a0b26fcc1e48ac8001c5438e00d140dbf2a9.zip |
Fix signed/unsigned comparison warning
svn:r2643
Diffstat (limited to 'src/common/compat.c')
-rw-r--r-- | src/common/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index 5b4c93110a..58ba52c375 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -302,7 +302,7 @@ tor_socketpair(int family, int type, int protocol, int fd[2]) /** Get the maximum allowed number of file descriptors. (Some systems * have a low soft limit.) Make sure we set it to at least * <b>required_min</b>. Return 0 if we can, or -1 if we fail. */ -int set_max_file_descriptors(int required_min) { +int set_max_file_descriptors(unsigned int required_min) { #ifndef HAVE_GETRLIMIT log_fn(LOG_INFO,"This platform is missing getrlimit(). Proceeding."); return 0; /* hope we'll be ok */ |