Index: experimental/PdfViewer/SkPdfBasics.h |
=================================================================== |
--- experimental/PdfViewer/SkPdfBasics.h (revision 10403) |
+++ experimental/PdfViewer/SkPdfBasics.h (working copy) |
@@ -56,7 +56,7 @@ |
} |
void applyGraphicsState(SkPaint* paint) { |
- paint->setColor(SkColorSetA(fColor, fOpacity * 255)); |
+ paint->setColor(SkColorSetA(fColor, (U8CPU)(fOpacity * 255))); |
} |
}; |