summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b9ab99c)
raw | patch | inline | side by side (parent: b9ab99c)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 4 Aug 2014 11:37:09 +0000 (13:37 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 4 Aug 2014 11:37:09 +0000 (13:37 +0200) |
... as strtod() returns a double not a time_t.
Follow-up to 7d1d59fb to match what ada80db25 does (currently in
master) and avoid a merge conflict.
Follow-up to 7d1d59fb to match what ada80db25 does (currently in
master) and avoid a merge conflict.
src/utils_cmd_putnotif.c | patch | blob | history |
index cba08bfa15b3092f249e1cf4503b49ddd2c05f8f..d3cf3834dea42885ff6df3d4695b53bf38d64872 100644 (file)
--- a/src/utils_cmd_putnotif.c
+++ b/src/utils_cmd_putnotif.c
|| (*endptr != 0)) /* Trailing chars */
return (-1);
- n->time = TIME_T_TO_CDTIME_T (tmp);
+ n->time = DOUBLE_TO_CDTIME_T (tmp);
return (0);
} /* int set_option_time */