Commit 3373f0e9 authored by James Zern's avatar James Zern
Browse files

md5_helper.h: fix type conversion warning

add a cast in Add() from size_t -> uint32; quiets a visual studio build

Change-Id: I0d87a3e460faf1fe2d4fb44df5f4042ef7500190
parent 8089f1cf
......@@ -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) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment