summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68>2022-06-23 11:48:10 +0000
committerylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68>2022-06-23 11:48:10 +0000
commit75c1bc58e27d7d1dcc9f62a9b0191e25480083cf (patch)
tree9fe561de0005c48964e25b04ec6e70d34a800a98
parent4982c8a3a5a5e1ec731c6b9455e90849efa4c3ba (diff)
downloadlibapr-75c1bc58e27d7d1dcc9f62a9b0191e25480083cf.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
-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,