* dtable.cc (dtable::extend): Change local variable new_size to size_t
as well. * thread.cc: Fix comment.
This commit is contained in:
		| @@ -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. | ||||||
|   | |||||||
| @@ -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) | ||||||
|   | |||||||
| @@ -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 () | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user