Skip to content

Commit

Permalink
UNICHARSET: Fix compiler warning (signed/unsigned mismatch)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Mar 24, 2019
1 parent 91e2b25 commit 41da5af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ccutil/unicharset.cpp
Expand Up @@ -1018,7 +1018,7 @@ bool UNICHARSET::AnyRepeatedUnicodes() const {
for (int id = start_id; id < size_used; ++id) {
// Convert to unicodes.
std::vector<char32> unicodes = UNICHAR::UTF8ToUTF32(get_normed_unichar(id));
for (int u = 1; u < unicodes.size(); ++u) {
for (size_t u = 1; u < unicodes.size(); ++u) {
if (unicodes[u - 1] == unicodes[u]) return true;
}
}
Expand Down

0 comments on commit 41da5af

Please sign in to comment.