* dtable.cc (dtable::extend): Change local variable new_size to size_t

as well.

	* thread.cc: Fix comment.
This commit is contained in:
Corinna Vinschen
2013-12-01 10:27:16 +00:00
parent bc54373f85
commit eeaa47ef21
3 changed files with 10 additions and 3 deletions

View File

@ -74,7 +74,7 @@ set_std_handle (int fd)
int
dtable::extend (size_t howmuch)
{
int new_size = size + howmuch;
size_t new_size = size + howmuch;
fhandler_base **newfds;
if (new_size > OPEN_MAX_MAX)