gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] bug in ISO dir wraptime.c - GetSecond


From: SiTex Graphics
Subject: [Gm2] bug in ISO dir wraptime.c - GetSecond
Date: Fri, 23 Apr 2010 18:29:01 -0400

I kept seeing the same results for minute and second from
SysClock.GetClock, and traced the problem to wraptime.GetSecond:

unsigned int wraptime_GetSecond(struct tm *m)
if (m->tm_sec == 60)
   return 59;
else
  return m->tm_min;
}

I'm guessing m->tm_min should be m->tm_sec

-Scott




reply via email to

[Prev in Thread] Current Thread [Next in Thread]