You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by mt...@apache.org on 2008/04/17 11:34:45 UTC

svn commit: r649022 - /apr/apr/trunk/time/win32/time.c

Author: mturk
Date: Thu Apr 17 02:34:32 2008
New Revision: 649022

URL: http://svn.apache.org/viewvc?rev=649022&view=rev
Log:
Cast pointers properly trough apr_ssize_t (int or __int64)

Modified:
    apr/apr/trunk/time/win32/time.c

Modified: apr/apr/trunk/time/win32/time.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/time/win32/time.c?rev=649022&r1=649021&r2=649022&view=diff
==============================================================================
--- apr/apr/trunk/time/win32/time.c (original)
+++ apr/apr/trunk/time/win32/time.c Thu Apr 17 02:34:32 2008
@@ -314,7 +314,7 @@
 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;
 }