fix _locaktime64 for x86

svn path=/branches/ros-amd64-bringup/; revision=38135
This commit is contained in:
Timo Kreuzer 2008-12-17 01:27:37 +00:00
parent e74941a2fd
commit c302a05577

View file

@ -1035,8 +1035,9 @@ struct tm *
_localtime64(const __time64_t * CPP_CONST timep)
{
static struct tm tm;
time_t lt = *timep;
localsub(timep, 0L, &tm);
localsub(&lt, 0L, &tm);
return &tm;
}