Lines 243-249
Link Here
|
243 |
else if (dow == 6) days = 2; |
243 |
else if (dow == 6) days = 2; |
244 |
else days = 1; |
244 |
else days = 1; |
245 |
|
245 |
|
246 |
return current + (days * 86400); |
246 |
return current + (time_t)(days * 86400); |
247 |
} |
247 |
} |
248 |
|
248 |
|
249 |
else if (Lexer::isDigit (period[0]) && |
249 |
else if (Lexer::isDigit (period[0]) && |
Lines 379-385
Link Here
|
379 |
throw std::string (format (STRING_TASK_VALID_RECUR, period)); |
379 |
throw std::string (format (STRING_TASK_VALID_RECUR, period)); |
380 |
|
380 |
|
381 |
secs = (time_t) p; |
381 |
secs = (time_t) p; |
382 |
return current + secs; |
382 |
return current + (time_t) secs; |
383 |
} |
383 |
} |
384 |
|
384 |
|
385 |
//////////////////////////////////////////////////////////////////////////////// |
385 |
//////////////////////////////////////////////////////////////////////////////// |