Fixed Windows compiler complaints (esp. in debugger)
https://codereview.appspot.com/6497090/
git-svn-id: http://skia.googlecode.com/svn/trunk@5419 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/debugger/SkDrawCommand.cpp b/debugger/SkDrawCommand.cpp
index 83b0719..34c6c3c 100644
--- a/debugger/SkDrawCommand.cpp
+++ b/debugger/SkDrawCommand.cpp
@@ -252,7 +252,8 @@
this->fDrawType = DRAW_POINTS;
this->fInfo.push(SkObjectParser::PointsToString(pts, count));
- this->fInfo.push(SkObjectParser::ScalarToString(count, "Points: "));
+ this->fInfo.push(SkObjectParser::ScalarToString(SkIntToScalar(count),
+ "Points: "));
this->fInfo.push(SkObjectParser::PointModeToString(mode));
}