Added cast to make SkIntToScalar happy with size_t in debug (in SkDrawCommand.cpp)
authorrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 31 Jan 2013 16:52:43 +0000 (16:52 +0000)
committerrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 31 Jan 2013 16:52:43 +0000 (16:52 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@7495 2bbb7eff-a529-9590-31e7-b0007b416f81

debugger/SkDrawCommand.cpp

index dce0af6..b185595 100644 (file)
@@ -329,7 +329,7 @@ DrawPoints::DrawPoints(SkCanvas::PointMode mode, size_t count,
     this->fDrawType = DRAW_POINTS;
 
     this->fInfo.push(SkObjectParser::PointsToString(pts, count));
-    this->fInfo.push(SkObjectParser::ScalarToString(SkIntToScalar(count),
+    this->fInfo.push(SkObjectParser::ScalarToString(SkIntToScalar((unsigned int)count),
                                                     "Points: "));
     this->fInfo.push(SkObjectParser::PointModeToString(mode));
     this->fInfo.push(SkObjectParser::PaintToString(paint));