correct bug

svn path=/trunk/; revision=244
This commit is contained in:
jean 1999-02-16 12:45:28 +00:00
parent 276842493c
commit bc669554a9

View file

@ -61,7 +61,7 @@ VOID RtlTimeToTimeFields(PLARGE_INTEGER liTime,
int LeapSecondCorrections, SecondsInDay, CurYear;
int LeapYear, CurMonth, GMTOffset;
long int Days;
long long int Time = *(long long int *)&liTime;
long long int Time = *(long long int *)liTime;
/* Extract millisecond from time and convert time into seconds */
TimeFields->Milliseconds = (CSHORT) ((Time % TICKSPERSEC) / TICKSPERMSEC);