From faa331e96aea1d9447b39a1f56847e3a3121035a Mon Sep 17 00:00:00 2001 From: john30 Date: Sat, 17 Dec 2016 17:52:12 +0100 Subject: [PATCH] corrected numeric formatting --- src/lib/ebus/message.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/ebus/message.cpp b/src/lib/ebus/message.cpp index df25d79f..4bc90fb4 100644 --- a/src/lib/ebus/message.cpp +++ b/src/lib/ebus/message.cpp @@ -1366,7 +1366,9 @@ bool SimpleNumericCondition::checkValue(Message* message, string field) { if (result==RESULT_OK) { for (size_t i=0; i+1(value); + ostringstream out; + out << static_cast(value); + m_matchedValue = out.str(); return true; } }