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.h | |
parent | 037fba75956160fb89218ffca6cc075328e9c3a6 (diff) | |
download | tor-1433a0b26fcc1e48ac8001c5438e00d140dbf2a9.tar tor-1433a0b26fcc1e48ac8001c5438e00d140dbf2a9.tar.gz |
Fix signed/unsigned comparison warning
svn:r2643
Diffstat (limited to 'src/common/compat.h')
-rw-r--r-- | src/common/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index afc8af41f..50acd4244 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -143,7 +143,7 @@ void set_uint16(char *cp, uint16_t v); void set_uint32(char *cp, uint32_t v); #endif -int set_max_file_descriptors(int required_min); +int set_max_file_descriptors(unsigned int required_min); int switch_id(char *user, char *group); int spawn_func(int (*func)(void *), void *data); |