Skip to content
Snippets Groups Projects
Commit 97555f45 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

fix a compiler warning added in one of my XXX023 fixes.

parent 30c46537
No related branches found
No related tags found
No related merge requests found
......@@ -1311,7 +1311,7 @@ set_max_file_descriptors(rlim_t limit, int *max_out)
limit = rlim.rlim_max;
if (limit > INT_MAX)
limit = INT_MAX;
*max_out = limit - ULIMIT_BUFFER;
*max_out = (int)limit - ULIMIT_BUFFER;
return 0;
}
if (rlim.rlim_max < limit) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment