From a1fcfde382e723df4ae859b14cb391338ac68d02 Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 15 Jan 2017 13:09:52 +0100 Subject: [PATCH] fix for previous commits --- src/ebusd/mainloop.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ebusd/mainloop.cpp b/src/ebusd/mainloop.cpp index 72a7de65..7233bd10 100644 --- a/src/ebusd/mainloop.cpp +++ b/src/ebusd/mainloop.cpp @@ -622,7 +622,7 @@ string MainLoop::executeRead(vector &args) { " Dx data byte(s) to send"; } string fieldName; - char fieldIndex = -2; + signed char fieldIndex = -2; if (args.size() == argPos + 2) { fieldName = args[argPos + 1]; fieldIndex = -1; @@ -1025,8 +1025,7 @@ string MainLoop::executeFind(vector &args) { " NAME NAME of the messages to find (or a part thereof without '-e')"; } deque messages = m_messages->findAll( - circuit, args.size() == argPos ? "" : args[argPos], exact, withRead, withWrite, withPassive - ); + circuit, args.size() == argPos ? "" : args[argPos], exact, withRead, withWrite, withPassive); bool found = false; ostringstream result;