Fix implicit long to int conversion

This commit is contained in:
Stephen F. Booth 2023-12-17 11:08:28 -06:00 committed by Urs Fleisch
parent 9a08678098
commit 98961813dc

View File

@ -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<unsigned int>(flags.to_ulong()), false));
// add the reserved 64bit