fix warning: use size_t when comparing to SK_ARRAY_COUNT

git-svn-id: http://skia.googlecode.com/svn/trunk@8108 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2013-03-12 15:55:47 +00:00
parent 1a64a54b27
commit 7ed1534416

View File

@ -529,7 +529,7 @@ void SkPictureRecord::restore() {
}
uint32_t initialOffset, size;
int opt;
size_t opt;
for (opt = 0; opt < SK_ARRAY_COUNT(gPictureRecordOpts); ++opt) {
if ((*gPictureRecordOpts[opt])(&fWriter, fRestoreOffsetStack.top(), &fPaints)) {
// Some optimization fired so don't add the RESTORE