Index: third_party/WebKit/Source/platform/image-decoders/ImageDecoderTestHelpers.cpp |
diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageDecoderTestHelpers.cpp b/third_party/WebKit/Source/platform/image-decoders/ImageDecoderTestHelpers.cpp |
index 6a6465d4434f02835c55d78bb2dd13ab4a8a36b4..543f754e7d5824086371ec0f82c72453424c6feb 100644 |
--- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoderTestHelpers.cpp |
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoderTestHelpers.cpp |
@@ -75,8 +75,8 @@ void testByteByByteDecode(DecoderCreator createDecoder, const char* file, size_t |
const char* source = data->data(); |
for (size_t length = 1; length <= data->size() && !decoder->failed(); ++length) { |
- sourceData[0]->append(source, 1); |
- sourceData[1]->append(source++, 1); |
+ sourceData[0]->append(source, 1u); |
+ sourceData[1]->append(source++, 1u); |
// Alternate the buffers to cover the JPEGImageDecoder::onSetData restart code. |
decoder->setData(sourceData[length & 1].get(), length == data->size()); |