diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-02 14:05:47 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-02 14:05:47 +0000 |
commit | a93f9c389349ae340ff18878377674e4cafe5318 (patch) | |
tree | 4613168674316c86caf32112784de2f8c9ef0f1a /gm | |
parent | d9d5385791b9ab47cd482b7d8370336e36867e0e (diff) |
converted "unsigned int" to "size_t" to address compiler failure
git-svn-id: http://skia.googlecode.com/svn/trunk@3815 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r-- | gm/samplerstress.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/samplerstress.cpp b/gm/samplerstress.cpp index 64abeeccdd..687c6363dd 100644 --- a/gm/samplerstress.cpp +++ b/gm/samplerstress.cpp @@ -49,7 +49,7 @@ public: for (int y = 0; y < src.fBounds.height(); ++y) { for (int x = 0; x < src.fBounds.width(); ++x) { - SkASSERT(unsigned int(scanline - dst->fImage) < dstSize); + SkASSERT(size_t(scanline - dst->fImage) < dstSize); scanline[x] = srcScanLine[x] && ((x+y) % 2) ? 0xFF : 0x00; } scanline += dst->fRowBytes; |