diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-03-14 03:28:46 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-03-14 03:28:46 +0000 |
commit | 0197b47ce906a5c7259e0bb240fdd7bb681df5ce (patch) | |
tree | b97697e7d06a7a4ed65356b567a2a1f341f83d9f /src/common/compat.h | |
parent | 97dad670ead7383d27c9a284be09d37b6151b29e (diff) | |
download | tor-0197b47ce906a5c7259e0bb240fdd7bb681df5ce.tar tor-0197b47ce906a5c7259e0bb240fdd7bb681df5ce.tar.gz |
Fix some more obscure compiler warnings
svn:r3758
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 fbb44d0fa..04ca605df 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -197,7 +197,7 @@ void set_uint16(char *cp, uint16_t v); void set_uint32(char *cp, uint32_t v); #endif -int set_max_file_descriptors(int limit, int cap); +int set_max_file_descriptors(unsigned long limit, unsigned long cap); int switch_id(char *user, char *group); #ifdef HAVE_PWD_H char *get_user_homedir(const char *username); |