small string generator fixes
This commit is contained in:
1 parent
9e6dcd0b08
commit
4e669bd908
1 file changed
+2
-2
@@ -711,7 +711,7 @@ bool DictEncoder::optimizeSplit()
|
|||||||
if (candidateScore > bestCandidateScore)
|
if (candidateScore > bestCandidateScore)
|
||||||
{
|
{
|
||||||
bestCandidate = iter;
|
bestCandidate = iter;
|
||||||
bestCandidateScore = bestCandidateScore;
|
bestCandidateScore = candidateScore;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -997,7 +997,7 @@ void DataSet::validateLists()
|
|||||||
|
|
||||||
for (const auto &character : stringEntry.string)
|
for (const auto &character : stringEntry.string)
|
||||||
{
|
{
|
||||||
if (character >= 0x80)
|
if ((unsigned char) character >= 0x80)
|
||||||
{
|
{
|
||||||
ERROR(std::string("character above 0x80 in string '") + stringEntry.string + "'");
|
ERROR(std::string("character above 0x80 in string '") + stringEntry.string + "'");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user