4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-28 03:27:46 +08:00

* 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

@ -1,3 +1,10 @@
2013-12-01 Corinna Vinschen <corinna@vinschen.de>
* dtable.cc (dtable::extend): Change local variable new_size to size_t
as well.
* thread.cc: Fix comment.
2013-11-30 Christopher Faylor <me.cygwin2013@cgf.cx> 2013-11-30 Christopher Faylor <me.cygwin2013@cgf.cx>
* dtable.h (dtable::first_fd_for_open): Change declaration to size_t. * dtable.h (dtable::first_fd_for_open): Change declaration to size_t.

View File

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

View File

@ -826,8 +826,8 @@ pthread::cancel ()
posix_fallocate () posix_fallocate ()
posix_madvise () posix_madvise ()
posix_openpt () posix_openpt ()
o posix_spawn () posix_spawn ()
o posix_spawnp () posix_spawnp ()
o posix_trace_clear () o posix_trace_clear ()
o posix_trace_close () o posix_trace_close ()
o posix_trace_create () o posix_trace_create ()