fix for previous commits

This commit is contained in:
john30
2017-01-15 13:09:52 +01:00
parent b38b1ef0b8
commit a1fcfde382
+2 -3
View File
@@ -622,7 +622,7 @@ string MainLoop::executeRead(vector<string> &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<string> &args) {
" NAME NAME of the messages to find (or a part thereof without '-e')";
}
deque<Message*> 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;