diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-20 15:56:14 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-20 15:56:14 +0000 |
commit | 8c99c9f4a6fa14a4ade0fb39ff431f43a7306fc7 (patch) | |
tree | 536610a55d61054d4b3478454779747b7d8a436c /src/pdf | |
parent | 80051d38a3469adb67fa7f503cf43fc2960c28b7 (diff) |
Reverting r12315 (More Windows 64b compilation warning fixes) due to compilation failures
git-svn-id: http://skia.googlecode.com/svn/trunk@12316 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/pdf')
-rw-r--r-- | src/pdf/SkPDFDevice.cpp | 2 | ||||
-rw-r--r-- | src/pdf/SkPDFDeviceFlattener.cpp | 2 | ||||
-rw-r--r-- | src/pdf/SkPDFImage.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp index 804dc41074..0b15d6ab43 100644 --- a/src/pdf/SkPDFDevice.cpp +++ b/src/pdf/SkPDFDevice.cpp @@ -123,7 +123,7 @@ static void align_text(SkDrawCacheProc glyphCacheProc, const SkPaint& paint, *y = *y - yAdj; } -static int max_glyphid_for_typeface(SkTypeface* typeface) { +static size_t max_glyphid_for_typeface(SkTypeface* typeface) { SkAutoResolveDefaultTypeface autoResolve(typeface); typeface = autoResolve.get(); return typeface->countGlyphs() - 1; diff --git a/src/pdf/SkPDFDeviceFlattener.cpp b/src/pdf/SkPDFDeviceFlattener.cpp index 91c9803c32..9c0bf41db2 100644 --- a/src/pdf/SkPDFDeviceFlattener.cpp +++ b/src/pdf/SkPDFDeviceFlattener.cpp @@ -43,7 +43,7 @@ void SkPDFDeviceFlattener::drawPoints(const SkDraw& d, SkCanvas::PointMode mode, flattenPaint(d, &paintFlatten); SkPoint* flattenedPoints = SkNEW_ARRAY(SkPoint, count); - d.fMatrix->mapPoints(flattenedPoints, points, SkToS32(count)); + d.fMatrix->mapPoints(flattenedPoints, points, count); SkDraw draw(d); SkMatrix identity = SkMatrix::I(); draw.fMatrix = &identity; diff --git a/src/pdf/SkPDFImage.cpp b/src/pdf/SkPDFImage.cpp index f2b105d473..c3dc396fc4 100644 --- a/src/pdf/SkPDFImage.cpp +++ b/src/pdf/SkPDFImage.cpp @@ -426,7 +426,7 @@ static SkBitmap unpremultiply_bitmap(const SkBitmap& bitmap, SkBitmap outBitmap; outBitmap.setConfig(bitmap.config(), srcRect.width(), srcRect.height()); outBitmap.allocPixels(); - int dstRow = 0; + size_t dstRow = 0; outBitmap.lockPixels(); bitmap.lockPixels(); |