diff --git a/taglib/ape/apefooter.cpp b/taglib/ape/apefooter.cpp index 92676b38..d54ddfe4 100644 --- a/taglib/ape/apefooter.cpp +++ b/taglib/ape/apefooter.cpp @@ -207,7 +207,7 @@ ByteVector APE::Footer::render(bool isHeader) const flags[30] = false; // footer is always present flags[29] = isHeader; - v.append(ByteVector::fromUInt(flags.to_ulong(), false)); + v.append(ByteVector::fromUInt(static_cast(flags.to_ulong()), false)); // add the reserved 64bit