summaryrefslogtreecommitdiff
path: root/threadproc/win32
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2011-03-19 12:17:02 +0000
committerJeff Trawick <trawick@apache.org>2011-03-19 12:17:02 +0000
commit0b764570f9ded99d8d85cc033545ebe4da78064a (patch)
tree9253eb02ee98593e0f37db5b03eeec4d228639ec /threadproc/win32
parenteb478010e910121da6dbaa07b4e53b11776bba81 (diff)
downloadapr-0b764570f9ded99d8d85cc033545ebe4da78064a.tar.gz
clean up some low hanging gcc warnings on Win
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1083169 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/win32')
-rw-r--r--threadproc/win32/signals.c1
-rw-r--r--threadproc/win32/threadpriv.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/threadproc/win32/signals.c b/threadproc/win32/signals.c
index b97023094..1cc153e30 100644
--- a/threadproc/win32/signals.c
+++ b/threadproc/win32/signals.c
@@ -17,6 +17,7 @@
#include "apr_arch_threadproc.h"
#include "apr_arch_file_io.h"
#include "apr_thread_proc.h"
+#include "apr_signal.h"
#include "apr_file_io.h"
#include "apr_general.h"
#if APR_HAVE_SIGNAL_H
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();