Windows compiler complaint cleanup
http://codereview.appspot.com/6441055/
git-svn-id: http://skia.googlecode.com/svn/trunk@4796 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/PictureRenderer.cpp b/tools/PictureRenderer.cpp
index 762b49c..71f936e 100644
--- a/tools/PictureRenderer.cpp
+++ b/tools/PictureRenderer.cpp
@@ -92,7 +92,9 @@
tile_x_start += fTileWidth) {
SkASSERT(tile_index < fTiles.count());
SkBitmap source = fTiles[tile_index].fCanvas->getDevice()->accessBitmap(false);
- destination->drawBitmap(source, tile_x_start, tile_y_start);
+ destination->drawBitmap(source,
+ SkIntToScalar(tile_x_start),
+ SkIntToScalar(tile_y_start));
++tile_index;
}
}