aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-08 18:42:20 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-08 18:42:20 +0000
commit5f429b098f46b0dc36f823e38a72e56d3ee9d39c (patch)
tree68d4a03be81ab22ef37df2acb5c365792b9212ab
parent14306e6802d533280b742b90a0e25d8447287a7d (diff)
Fix signed/unsigned comparison in PictureTest.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@7092 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--tests/PictureTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp
index 26b1f56178..da8d13a69e 100644
--- a/tests/PictureTest.cpp
+++ b/tests/PictureTest.cpp
@@ -133,7 +133,7 @@ static void gather_from_colors(const SkBitmap& bm, SkPixelRef* const refs[],
uint32_t index = SkGetPackedR32(pmc);
SkASSERT(SkGetPackedG32(pmc) == index);
SkASSERT(SkGetPackedB32(pmc) == index);
- SkASSERT(index < count);
+ SkASSERT(static_cast<int>(index) < count);
bitarray |= 1 << index;
}
}