diff --git a/taglib/toolkit/tbytevector.cpp b/taglib/toolkit/tbytevector.cpp index d04fb921..bb3d43dc 100644 --- a/taglib/toolkit/tbytevector.cpp +++ b/taglib/toolkit/tbytevector.cpp @@ -453,7 +453,7 @@ bool ByteVector::containsAt( patternLength = pattern.size(); // do some sanity checking -- all of these things are needed for the search to be valid - const uint compareLength = patternLength - patternOffset; + const size_t compareLength = patternLength - patternOffset; if(offset + compareLength > size() || patternOffset >= pattern.size() || patternLength == 0) return false;