deltat declared time_t, msg("") call used %d (assumed time_t == int).
Changed deltat to be an int (result of delta time calculation). MFC after: 1 day
This commit is contained in:
parent
8816d1d500
commit
788bbd2d61
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85622
@ -192,7 +192,8 @@ time_t tschedule = 0;
|
|||||||
void
|
void
|
||||||
timeest()
|
timeest()
|
||||||
{
|
{
|
||||||
time_t tnow, deltat;
|
time_t tnow;
|
||||||
|
int deltat;
|
||||||
|
|
||||||
(void) time((time_t *) &tnow);
|
(void) time((time_t *) &tnow);
|
||||||
if (tnow >= tschedule) {
|
if (tnow >= tschedule) {
|
||||||
|
Loading…
Reference in New Issue
Block a user