Index: src/core/SkMD5.cpp |
diff --git a/src/core/SkMD5.cpp b/src/core/SkMD5.cpp |
index 5c86522a54306116517d40c40f8b85ef2f74fb8f..c0c3c31fb759ae91d8f176283f2261d8b4bd0189 100644 |
--- a/src/core/SkMD5.cpp |
+++ b/src/core/SkMD5.cpp |
@@ -80,10 +80,10 @@ void SkMD5::finish(Digest& digest) { |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
}; |
- this->update(PADDING, paddingLength); |
+ (void)this->write(PADDING, paddingLength); |
// Append length (length before padding, will cause final update). |
- this->update(bits, 8); |
+ (void)this->write(bits, 8); |
tomhudson
2016/04/22 20:49:55
Having to cast void return. :(
|
// Write out digest. |
encode(digest.data, this->state); |