summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2022-06-23 11:48:10 +0000
committerYann Ylavic <ylavic@apache.org>2022-06-23 11:48:10 +0000
commit80e94bcadca28b951bae8140b3007aaf5af12bf6 (patch)
tree9fe561de0005c48964e25b04ec6e70d34a800a98 /threadproc
parent1fe0a645ac3ac52d51ebf494b0370d2156947354 (diff)
downloadapr-80e94bcadca28b951bae8140b3007aaf5af12bf6.tar.gz
apr_thread: Fix pointer to int conversion warning.
* threadproc/win32/thread.c(dummy_worker): First cast to apr_uinptr_t before conversion pointer to int. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902198 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/win32/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/threadproc/win32/thread.c b/threadproc/win32/thread.c
index 4e2c36ead..c49038361 100644
--- a/threadproc/win32/thread.c
+++ b/threadproc/win32/thread.c
@@ -92,7 +92,7 @@ static unsigned int APR_THREAD_FUNC dummy_worker(void *opaque)
apr_pool_destroy(thd->pool);
}
- return (unsigned int) ret;
+ return (unsigned int)(apr_uintptr_t)ret;
}
static apr_status_t alloc_thread(apr_thread_t **new,