Fixing a warning in mkvmuxerutil.cpp

Changing a constant from int32 to uint64 to fix a warning in
mkmuxerutil.cpp

Change-Id: Ifd9f76ea4be848eff4d98a797d2d4dcd22f11478
This commit is contained in:
Vignesh Venkatasubramanian 2014-04-08 16:05:39 -07:00
parent abe9c2d0d1
commit a7118d8ec5

View File

@ -292,11 +292,11 @@ bool WriteEbmlElement(IMkvWriter* writer, uint64 type, const char* value) {
if (WriteID(writer, type))
return false;
const int32 length = strlen(value);
const uint64 length = strlen(value);
if (WriteUInt(writer, length))
return false;
if (writer->Write(value, length))
if (writer->Write(value, static_cast<const uint32>(length)))
return false;
return true;