fix minor compiler warning.

This commit is contained in:
Charles Kerr 2008-02-25 03:09:55 +00:00
parent f2f24e936d
commit e4a59e5e27
1 changed files with 1 additions and 1 deletions

View File

@ -486,7 +486,7 @@ tr_fdInit( int globalPeerLimit )
(rlim_t)(globalPeerLimit + NOFILE_BUFFER) );
setrlimit( RLIMIT_NOFILE, &rlim );
gFd->normalMax = rlim.rlim_cur - NOFILE_BUFFER;
tr_dbg( "setrlimit( RLIMIT_NOFILE, %d )", rlim.rlim_cur );
tr_dbg( "setrlimit( RLIMIT_NOFILE, %d )", (int)rlim.rlim_cur );
}
#else
gFd->normalMax = globalPeerLimit;