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
This commit is contained in:
parent
d9d5385791
commit
a93f9c3893
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user