summaryrefslogtreecommitdiff
path: root/threadproc/win32/thread.c
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-02-13 03:17:53 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-02-13 03:17:53 +0000
commitcd7e95bb2b00cb74ba0bc50522d6944d8541e1e0 (patch)
treea67c42c947b44ae0e155ad9d21a7190223436a8a /threadproc/win32/thread.c
parent2eea09161396c5ba3be05a615afdc522d9d45d4c (diff)
downloadlibapr-cd7e95bb2b00cb74ba0bc50522d6944d8541e1e0.tar.gz
Eliminate an unnecessary cast
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62977 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/win32/thread.c')
-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 4890419ea..2e5be2757 100644
--- a/threadproc/win32/thread.c
+++ b/threadproc/win32/thread.c
@@ -130,7 +130,7 @@ APR_DECLARE(apr_status_t) apr_thread_create(apr_thread_t **new,
return APR_FROM_OS_ERROR(_doserrno);
}
#else
- if (((*new)->td = (HANDLE)CreateThread(NULL, 0,
+ if (((*new)->td = CreateThread(NULL, 0,
(unsigned int (APR_THREAD_FUNC *)(void *))dummy_worker,
(*new), 0, &temp)) == 0) {
return apr_get_os_error();