diff options
author | 2013-10-16 17:48:11 +0000 | |
---|---|---|
committer | 2013-10-16 17:48:11 +0000 | |
commit | e9cd27d4a3c92393cc6c79d4d6f93d266411d95e (patch) | |
tree | 5f7abfe6a8784b514a386a3d308242bd9224c257 /src/utils/SkPDFRasterizer.cpp | |
parent | 1ae6c2b0121fd1fcd5b736a810060fc66ed68286 (diff) |
Third wave of Win64 warning cleanup
https://codereview.chromium.org/27487003/
git-svn-id: http://skia.googlecode.com/svn/trunk@11817 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/utils/SkPDFRasterizer.cpp')
-rw-r--r-- | src/utils/SkPDFRasterizer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/SkPDFRasterizer.cpp b/src/utils/SkPDFRasterizer.cpp index bf0ab25a40..a3b4cb4a53 100644 --- a/src/utils/SkPDFRasterizer.cpp +++ b/src/utils/SkPDFRasterizer.cpp @@ -38,7 +38,7 @@ bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output) { return false; } - size_t width = image.width(), height = image.height(); + int width = image.width(), height = image.height(); size_t rowSize = image.bytes_per_row(); char *imgData = image.data(); @@ -51,9 +51,9 @@ bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output) { SkPMColor* bitmapPixels = (SkPMColor*)bitmap.getPixels(); // do pixel-by-pixel copy to deal with RGBA ordering conversions - for (size_t y = 0; y < height; y++) { + for (int y = 0; y < height; y++) { char *rowData = imgData; - for (size_t x = 0; x < width; x++) { + for (int x = 0; x < width; x++) { uint8_t a = rowData[3]; uint8_t r = rowData[2]; uint8_t g = rowData[1]; |