Skip to content

Commit 41da5af

Browse files
committed
UNICHARSET: Fix compiler warning (signed/unsigned mismatch)
Signed-off-by: Stefan Weil <[email protected]>
1 parent 91e2b25 commit 41da5af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ccutil/unicharset.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ bool UNICHARSET::AnyRepeatedUnicodes() const {
10181018
for (int id = start_id; id < size_used; ++id) {
10191019
// Convert to unicodes.
10201020
std::vector<char32> unicodes = UNICHAR::UTF8ToUTF32(get_normed_unichar(id));
1021-
for (int u = 1; u < unicodes.size(); ++u) {
1021+
for (size_t u = 1; u < unicodes.size(); ++u) {
10221022
if (unicodes[u - 1] == unicodes[u]) return true;
10231023
}
10241024
}

0 commit comments

Comments
 (0)