apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r649022 - /apr/apr/trunk/time/win32/time.c
Date Thu, 17 Apr 2008 09:34:45 GMT
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;
 }
 



Mime
View raw message