mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
correct bug
svn path=/trunk/; revision=244
This commit is contained in:
parent
276842493c
commit
bc669554a9
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ VOID RtlTimeToTimeFields(PLARGE_INTEGER liTime,
|
||||||
int LeapSecondCorrections, SecondsInDay, CurYear;
|
int LeapSecondCorrections, SecondsInDay, CurYear;
|
||||||
int LeapYear, CurMonth, GMTOffset;
|
int LeapYear, CurMonth, GMTOffset;
|
||||||
long int Days;
|
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 */
|
/* Extract millisecond from time and convert time into seconds */
|
||||||
TimeFields->Milliseconds = (CSHORT) ((Time % TICKSPERSEC) / TICKSPERMSEC);
|
TimeFields->Milliseconds = (CSHORT) ((Time % TICKSPERSEC) / TICKSPERMSEC);
|
||||||
|
|
Loading…
Reference in a new issue