TDB2: Converted from strtoul to std::stoul
This commit is contained in:
@@ -959,7 +959,7 @@ void TDB2::show_diff (
|
|||||||
const std::string& prior,
|
const std::string& prior,
|
||||||
const std::string& when)
|
const std::string& when)
|
||||||
{
|
{
|
||||||
ISO8601d lastChange (strtol (when.c_str (), NULL, 10));
|
ISO8601d lastChange (static_cast <time_t> (std::stoul (when)));
|
||||||
|
|
||||||
// Set the colors.
|
// Set the colors.
|
||||||
Color color_red (context.color () ? context.config.get ("color.undo.before") : "");
|
Color color_red (context.color () ? context.config.get ("color.undo.before") : "");
|
||||||
|
|||||||
Reference in New Issue
Block a user