From cb9b4a5ce66abdd8b3fca48769744e63422099f7 Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Thu, 31 Jan 2013 16:52:43 +0000 Subject: Added cast to make SkIntToScalar happy with size_t in debug (in SkDrawCommand.cpp) git-svn-id: http://skia.googlecode.com/svn/trunk@7495 2bbb7eff-a529-9590-31e7-b0007b416f81 --- debugger/SkDrawCommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debugger/SkDrawCommand.cpp') diff --git a/debugger/SkDrawCommand.cpp b/debugger/SkDrawCommand.cpp index dce0af6b5b..b185595530 100644 --- a/debugger/SkDrawCommand.cpp +++ b/debugger/SkDrawCommand.cpp @@ -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)); -- cgit v1.2.3