Revert "Col*: Missing paren"

This reverts commit e3ea548de0.
This commit is contained in:
Paul Beckingham 2015-11-02 18:42:16 -05:00
parent d23d0fafb7
commit 5a01fe003d
2 changed files with 4 additions and 4 deletions

View file

@ -186,7 +186,7 @@ void ColumnDescription::render (
{
for (auto& i : annos)
{
ISO8601d dt (static_cast <time_t> (std::stoul (i.first.substr (11))));
ISO8601d dt (strtol (i.first.substr (11).c_str (), NULL, 10));
description += "\n" + std::string (_indent, ' ') + dt.toString (_dateformat) + " " + i.second;
}
}
@ -217,7 +217,7 @@ void ColumnDescription::render (
{
for (auto& i : annos)
{
ISO8601d dt (static_cast <time_t> (std::stoul (i.first.substr (11))));
ISO8601d dt (strtol (i.first.substr (11).c_str (), NULL, 10));
description += " " + dt.toString (_dateformat) + " " + i.second;
}
}