removed unncessary casts, allow more than one file to match, compiler warnings

This commit is contained in:
john30
2017-05-01 17:09:56 +02:00
parent afbd5829b6
commit 727aca8309
12 changed files with 54 additions and 59 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ result_t FileReader::formatError(const string& filename, unsigned int lineNo, re
if (!errorDescription->empty()) {
str << *errorDescription << ", ";
}
str << filename << ":" << static_cast<unsigned>(lineNo) << ": " << getResultCode(result);
str << filename << ":" << lineNo << ": " << getResultCode(result);
if (!error.empty()) {
str << ", " << error;
}