You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/08/08 08:54:31 UTC
svn commit: r802305 -
/commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h
Author: mturk
Date: Sat Aug 8 06:54:31 2009
New Revision: 802305
URL: http://svn.apache.org/viewvc?rev=802305&view=rev
Log:
Use LARGE_INTERGER for time transformation
Modified:
commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h
Modified: commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h?rev=802305&r1=802304&r2=802305&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h (original)
+++ commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h Sat Aug 8 06:54:31 2009
@@ -317,7 +317,7 @@
return calloc(1, size);
}
-static ACR_INLINE void FileTimeToAprTime(acr_time_t *result, FILETIME *input)
+static ACR_INLINE void FileTimeToAprTime(acr_time_t *result, LPFILETIME input)
{
/* Convert FILETIME one 64 bit number so we can work with it. */
*result = ((LARGE_INTEGER *)input)->QuadPart;