Fix perfdata in NullCheck.

This commit is contained in:
Michael Friedrich 2013-10-18 20:04:56 +02:00
parent bc3411fe8d
commit 641bc96b84
1 changed files with 1 additions and 1 deletions

View File

@ -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<double>(Utility::GetTime()));
Dictionary::Ptr cr = boost::make_shared<Dictionary>();
cr->Set("output", output);