summaryrefslogtreecommitdiff
path: root/third_party/libwebm/mkvmuxerutil.cpp
diff options
context:
space:
mode:
authorVignesh Venkatasubramanian <vigneshv@google.com>2014-04-08 16:25:23 -0700
committerVignesh Venkatasubramanian <vigneshv@google.com>2014-04-08 16:25:23 -0700
commit919553695c9673ff7016e9435905412fcdfbd552 (patch)
treed0a3758c44588742c2e56b4d2ae67b489a846e67 /third_party/libwebm/mkvmuxerutil.cpp
parente8e380f994e53c12f34721ed9e5a13b24b09f5f7 (diff)
downloadlibvpx-919553695c9673ff7016e9435905412fcdfbd552.tar
libvpx-919553695c9673ff7016e9435905412fcdfbd552.tar.gz
libvpx-919553695c9673ff7016e9435905412fcdfbd552.tar.bz2
libvpx-919553695c9673ff7016e9435905412fcdfbd552.zip
third_party/libwebm: Pull from upstream
Pulling latest libwebm from upstream. Change-Id: I62edafb0b0283160c9b4060fd5907e3aad6c7820
Diffstat (limited to 'third_party/libwebm/mkvmuxerutil.cpp')
-rw-r--r--third_party/libwebm/mkvmuxerutil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/libwebm/mkvmuxerutil.cpp b/third_party/libwebm/mkvmuxerutil.cpp
index 96350e9c5..18060e902 100644
--- a/third_party/libwebm/mkvmuxerutil.cpp
+++ b/third_party/libwebm/mkvmuxerutil.cpp
@@ -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;