Fix error in time calculation

This commit is contained in:
Gregory Nutt 2016-03-17 16:13:43 -06:00
parent 6a5b6f8753
commit 2443278928

View File

@ -79,8 +79,8 @@ static void dump_notes(size_t nread)
notelen = note->nc_length; notelen = note->nc_length;
systime = (uint32_t) note->nc_systime[0] + systime = (uint32_t) note->nc_systime[0] +
(uint32_t)(note->nc_systime[1] << 8) + (uint32_t)(note->nc_systime[1] << 8) +
(uint32_t)(note->nc_systime[1] << 16) + (uint32_t)(note->nc_systime[2] << 16) +
(uint32_t)(note->nc_systime[1] << 24); (uint32_t)(note->nc_systime[3] << 24);
switch (note->nc_type) switch (note->nc_type)
{ {