summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2015-05-17 11:21:22 -0700
committerJames Zern <jzern@google.com>2015-05-17 11:21:22 -0700
commit3373f0e93b2c773d102830fe907fca8de5464615 (patch)
tree169fd3bad482e639e7f80cd7b94ea40343ae59ee /test
parent8089f1cf1355953210c3cd0584bcc64a4eed6dd6 (diff)
downloadlibvpx-3373f0e93b2c773d102830fe907fca8de5464615.tar
libvpx-3373f0e93b2c773d102830fe907fca8de5464615.tar.gz
libvpx-3373f0e93b2c773d102830fe907fca8de5464615.tar.bz2
libvpx-3373f0e93b2c773d102830fe907fca8de5464615.zip
md5_helper.h: fix type conversion warning
add a cast in Add() from size_t -> uint32; quiets a visual studio build warning Change-Id: I0d87a3e460faf1fe2d4fb44df5f4042ef7500190
Diffstat (limited to 'test')
-rw-r--r--test/md5_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/md5_helper.h b/test/md5_helper.h
index 95f092127..742cf0b7b 100644
--- a/test/md5_helper.h
+++ b/test/md5_helper.h
@@ -43,7 +43,7 @@ class MD5 {
}
void Add(const uint8_t *data, size_t size) {
- MD5Update(&md5_, data, size);
+ MD5Update(&md5_, data, static_cast<uint32_t>(size));
}
const char *Get(void) {