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/29 19:01:44 UTC

svn commit: r809161 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c

Author: mturk
Date: Sat Aug 29 17:01:44 2009
New Revision: 809161

URL: http://svn.apache.org/viewvc?rev=809161&view=rev
Log:
We converted to seconds so compare with seconds

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c?rev=809161&r1=809160&r2=809161&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c Sat Aug 29 17:01:44 2009
@@ -63,7 +63,7 @@
     if (FileTimeToDosDateTime(&ft, &dd, &dt))
         return ((acr_uint32_t)dd << 16) | (acr_uint32_t)dt;
     else {
-        if (t > ACR_INT64_C(4354732800000000))
+        if (t > ACR_INT64_C(4354732800))
             return 0xFF9F0000;
         else
             return 0x00210000;