Index: tests/Writer32Test.cpp |
diff --git a/tests/Writer32Test.cpp b/tests/Writer32Test.cpp |
index 56cea2a926196b939728302e909fa016917d3c3b..5b65caa00026ac85c7868debdbb092ad4734a56a 100644 |
--- a/tests/Writer32Test.cpp |
+++ b/tests/Writer32Test.cpp |
@@ -163,7 +163,7 @@ static void testWritePad(skiatest::Reporter* reporter, SkWriter32* writer) { |
} |
} |
- uint32_t totalBytes = writer->bytesWritten(); |
+ size_t totalBytes = writer->bytesWritten(); |
SkAutoMalloc readStorage(totalBytes); |
writer->flatten(readStorage.get()); |