From d23d0fafb74e3d62521b62a2ac5b1186fc457f31 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 2 Nov 2015 18:41:57 -0500 Subject: [PATCH] Revert "TDB2: Converted from strtoul to std::stoul" This reverts commit bdfd22ad88c8c6013e840f332ba0b395c0f1e83c. --- src/TDB2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TDB2.cpp b/src/TDB2.cpp index c251cfbb3..7ebc5620f 100644 --- a/src/TDB2.cpp +++ b/src/TDB2.cpp @@ -959,7 +959,7 @@ void TDB2::show_diff ( const std::string& prior, const std::string& when) { - ISO8601d lastChange (static_cast (std::stoul (when))); + ISO8601d lastChange (strtol (when.c_str (), NULL, 10)); // Set the colors. Color color_red (context.color () ? context.config.get ("color.undo.before") : "");