summaryrefslogtreecommitdiff
path: root/threadproc/win32/threadpriv.c
diff options
context:
space:
mode:
Diffstat (limited to 'threadproc/win32/threadpriv.c')
-rw-r--r--threadproc/win32/threadpriv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/threadproc/win32/threadpriv.c b/threadproc/win32/threadpriv.c
index 0cbfe620e..787c142c4 100644
--- a/threadproc/win32/threadpriv.c
+++ b/threadproc/win32/threadpriv.c
@@ -41,7 +41,7 @@ APR_DECLARE(apr_status_t) apr_threadkey_private_create(apr_threadkey_t **key,
APR_DECLARE(apr_status_t) apr_threadkey_private_get(void **new,
apr_threadkey_t *key)
{
- if ((*new) = TlsGetValue(key->key)) {
+ if (((*new) = TlsGetValue(key->key))) {
return APR_SUCCESS;
}
return apr_get_os_error();