Index: bench/ChecksumBench.cpp |
diff --git a/bench/ChecksumBench.cpp b/bench/ChecksumBench.cpp |
index cba9572aa330974529dbc85d67a6805a418c9859..4c2ac1a3962c634696a2dc35601c7cdc4130a3c3 100644 |
--- a/bench/ChecksumBench.cpp |
+++ b/bench/ChecksumBench.cpp |
@@ -51,7 +51,7 @@ protected: |
case kMD5_ChecksumType: { |
for (int i = 0; i < loops; i++) { |
SkMD5 md5; |
- md5.update(reinterpret_cast<uint8_t*>(fData), sizeof(fData)); |
+ md5.write(fData, sizeof(fData)); |
SkMD5::Digest digest; |
md5.finish(digest); |
} |