diff options
Diffstat (limited to 'tests/PictureTest.cpp')
-rw-r--r-- | tests/PictureTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp index f6ed59e81a..9e36d841df 100644 --- a/tests/PictureTest.cpp +++ b/tests/PictureTest.cpp @@ -874,7 +874,7 @@ static void md5(const SkBitmap& bm, SkMD5::Digest* digest) { SkMD5 md5; size_t rowLen = bm.info().bytesPerPixel() * bm.width(); for (int y = 0; y < bm.height(); ++y) { - md5.update(static_cast<uint8_t*>(bm.getAddr(0, y)), rowLen); + md5.write(bm.getAddr(0, y), rowLen); } md5.finish(*digest); } |