diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-31 16:52:43 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-31 16:52:43 +0000 |
commit | cb9b4a5ce66abdd8b3fca48769744e63422099f7 (patch) | |
tree | 8a175bd4ac6f26f1e2409aa3b72176efcf9c1a23 /debugger/SkDrawCommand.cpp | |
parent | 1917c7bb2c55ee228b2258c1260a850cc940877c (diff) |
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
Diffstat (limited to 'debugger/SkDrawCommand.cpp')
-rw-r--r-- | debugger/SkDrawCommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |