From 97116ea1ceb074f1a1e869815fcf4b61314d1b44 Mon Sep 17 00:00:00 2001 From: Mladen Turk Date: Thu, 17 Apr 2008 09:34:32 +0000 Subject: 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 --- time/win32/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'time') 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; } -- cgit v1.2.1