From 641bc96b84584c87c69d08119122bfc8c55336e4 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Fri, 18 Oct 2013 20:04:56 +0200 Subject: [PATCH] Fix perfdata in NullCheck. --- lib/icinga/nullchecktask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icinga/nullchecktask.cpp b/lib/icinga/nullchecktask.cpp index 894733788..f08ef7aca 100644 --- a/lib/icinga/nullchecktask.cpp +++ b/lib/icinga/nullchecktask.cpp @@ -40,7 +40,7 @@ Dictionary::Ptr NullCheckTask::ScriptFunc(const Service::Ptr&) String output = "Hello from "; output += name; - String perfdata = "time=" + Convert::ToString(Utility::GetTime()); + String perfdata = "time=" + Convert::ToString(static_cast(Utility::GetTime())); Dictionary::Ptr cr = boost::make_shared(); cr->Set("output", output);