From 45e8e83041dc276f1bdb64e888faa06d694754f7 Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Mon, 24 Jun 2013 21:07:33 +0900 Subject: [PATCH] Fixed a wrong integer type --- taglib/toolkit/tbytevector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;