opnsense-ports/deskutils/taskwarrior/files/patch-src_commands_CmdTimesheet.cpp
Franco Fichtner ce5cd830d4 */*: sync with upstream
Taken from: FreeBSD
2016-01-06 08:21:24 +01:00

11 lines
404 B
C++

--- src/commands/CmdTimesheet.cpp.orig 2015-10-21 20:50:42 UTC
+++ src/commands/CmdTimesheet.cpp
@@ -75,7 +75,7 @@ int CmdTimesheet::execute (std::string&
// Roll back to midnight.
start = ISO8601d (start.month (), start.day (), start.year ());
- ISO8601d end = start + (7 * 86400);
+ ISO8601d end = start + (time_t)(7 * 86400);
// Determine how many reports to run.
int quantity = 1;