summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorMladen Turk <mturk@apache.org>2008-04-17 09:34:32 +0000
committerMladen Turk <mturk@apache.org>2008-04-17 09:34:32 +0000
commit97116ea1ceb074f1a1e869815fcf4b61314d1b44 (patch)
tree1f8c456e8cbe87304933e99f6c2293c6f4ecf3e6 /time
parent41ab850362a774f2732cecc4611aad1f3233b305 (diff)
downloadapr-97116ea1ceb074f1a1e869815fcf4b61314d1b44.tar.gz
Cast pointers properly trough apr_ssize_t (int or __int64)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@649022 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time')
-rw-r--r--time/win32/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/win32/time.c b/time/win32/time.c
index 9565fee93..ecf022854 100644
--- a/time/win32/time.c
+++ b/time/win32/time.c
@@ -314,7 +314,7 @@ APR_DECLARE(void) apr_time_clock_hires(apr_pool_t *p)
static apr_status_t clock_restore(void *unsetres)
{
ULONG newRes;
- SetTimerResolution((ULONG)unsetres, FALSE, &newRes);
+ SetTimerResolution((ULONG)(apr_ssize_t)unsetres, FALSE, &newRes);
return APR_SUCCESS;
}