diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 29294107e..3cf5e819f 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,10 @@ +2013-12-01 Corinna Vinschen + + * dtable.cc (dtable::extend): Change local variable new_size to size_t + as well. + + * thread.cc: Fix comment. + 2013-11-30 Christopher Faylor * dtable.h (dtable::first_fd_for_open): Change declaration to size_t. diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc index bbec732a5..3934e008a 100644 --- a/winsup/cygwin/dtable.cc +++ b/winsup/cygwin/dtable.cc @@ -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) diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc index 0e0d30127..8cec7fba2 100644 --- a/winsup/cygwin/thread.cc +++ b/winsup/cygwin/thread.cc @@ -826,8 +826,8 @@ pthread::cancel () posix_fallocate () posix_madvise () posix_openpt () - o posix_spawn () - o posix_spawnp () + posix_spawn () + posix_spawnp () o posix_trace_clear () o posix_trace_close () o posix_trace_create ()