From d4f6f00b29ba2d54146c864ae9db8017ade6e0d7 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 2 Nov 2015 18:38:21 -0500 Subject: [PATCH] Revert "Feedback: Converted from strtol to std::stoul" This reverts commit 8f60b1f9c52da01d8f3c835ee5c1f1b42f01c45c. --- src/feedback.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feedback.cpp b/src/feedback.cpp index 9317f4eba..9e2862825 100644 --- a/src/feedback.cpp +++ b/src/feedback.cpp @@ -267,7 +267,7 @@ std::string renderAttribute (const std::string& name, const std::string& value, col->type () == "date" && value != "") { - ISO8601d d (static_cast (std::stoul (value))); + ISO8601d d ((time_t)strtol (value.c_str (), NULL, 10)); if (format == "") return d.toString (context.config.get ("dateformat"));