TDB2: Converted from strtoul to std::stoul

This commit is contained in:
Paul Beckingham 2015-11-01 21:31:10 -05:00
parent e3ea548de0
commit bdfd22ad88

View file

@ -959,7 +959,7 @@ void TDB2::show_diff (
const std::string& prior,
const std::string& when)
{
ISO8601d lastChange (strtol (when.c_str (), NULL, 10));
ISO8601d lastChange (static_cast <time_t> (std::stoul (when)));
// Set the colors.
Color color_red (context.color () ? context.config.get ("color.undo.before") : "");