From: Tsuda Kageyu Date: Wed, 16 Dec 2015 03:59:43 +0000 (+0900) Subject: Replace TagLib::uint with unsinged int. X-Git-Tag: v1.11beta~40 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36b905670c127a4527d87cfea7ed2218bdaf2125;p=taglib Replace TagLib::uint with unsinged int. --- diff --git a/taglib/flac/flacfile.cpp b/taglib/flac/flacfile.cpp index bdb77d52..2d65846b 100644 --- a/taglib/flac/flacfile.cpp +++ b/taglib/flac/flacfile.cpp @@ -225,7 +225,7 @@ bool FLAC::File::save() ByteVector paddingHeader = ByteVector::fromUInt(paddingLength); paddingHeader[0] = static_cast(MetadataBlock::Padding | LastBlockFlag); data.append(paddingHeader); - data.resize(static_cast(data.size() + paddingLength)); + data.resize(static_cast(data.size() + paddingLength)); // Write the data to the file diff --git a/taglib/toolkit/trefcounter.h b/taglib/toolkit/trefcounter.h index c231779d..bc3cdd9b 100644 --- a/taglib/toolkit/trefcounter.h +++ b/taglib/toolkit/trefcounter.h @@ -102,7 +102,7 @@ namespace TagLib bool deref() { return ! --refCount; } int count() { return refCount; } private: - uint refCount; + unsigned int refCount; #endif };