mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Fixed a wrong integer type
This commit is contained in:
parent
c066ccd32d
commit
45e8e83041
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user