diff options
author | Ivan Zhakov <ivan@apache.org> | 2019-05-27 17:51:44 +0000 |
---|---|---|
committer | Ivan Zhakov <ivan@apache.org> | 2019-05-27 17:51:44 +0000 |
commit | 7f2843c553ac9c73c34bdfe0f0f788096cba1afe (patch) | |
tree | 88895249c0e6b45447988b5aa5e7df0eed49c28e /util-misc | |
parent | 8b1e1fcd578d3dcaa3a305065a630ec9a7a50710 (diff) | |
download | apr-7f2843c553ac9c73c34bdfe0f0f788096cba1afe.tar.gz |
* util-misc/apr_thread_pool.c
(apr_thread_pool_thread_max_set): Use apr_size_t instead of unsigned int to
avoid compiler warning.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1860156 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'util-misc')
-rw-r--r-- | util-misc/apr_thread_pool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-misc/apr_thread_pool.c b/util-misc/apr_thread_pool.c index f5a7a4316..cf8c23ddc 100644 --- a/util-misc/apr_thread_pool.c +++ b/util-misc/apr_thread_pool.c @@ -904,7 +904,7 @@ APR_DECLARE(apr_size_t) apr_thread_pool_thread_max_get(apr_thread_pool_t *me) APR_DECLARE(apr_size_t) apr_thread_pool_thread_max_set(apr_thread_pool_t *me, apr_size_t cnt) { - unsigned int n; + apr_size_t n; me->thd_max = cnt; if (0 == cnt || me->thd_cnt <= cnt) { |