Author: tkreuzer
Date: Tue Dec 16 19:27:37 2008
New Revision: 38135
URL:
http://svn.reactos.org/svn/reactos?rev=38135&view=rev
Log:
fix _locaktime64 for x86
Modified:
branches/ros-amd64-bringup/reactos/lib/sdk/crt/time/ctime.c
Modified: branches/ros-amd64-bringup/reactos/lib/sdk/crt/time/ctime.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/lib/s…
==============================================================================
--- branches/ros-amd64-bringup/reactos/lib/sdk/crt/time/ctime.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/lib/sdk/crt/time/ctime.c [iso-8859-1] Tue Dec 16
19:27:37 2008
@@ -1035,8 +1035,9 @@
_localtime64(const __time64_t * CPP_CONST timep)
{
static struct tm tm;
-
- localsub(timep, 0L, &tm);
+ time_t lt = *timep;
+
+ localsub(<, 0L, &tm);
return &tm;
}