aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-08 17:24:44 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-08 17:24:44 +0000
commitc3d753e345c1e67192afeabcbe5b75d491f5d29d (patch)
treefe0f91e66f7014345cf57d9cbed2cd24f73f41a6 /tests
parente378d833489476f68485a64dc437da325e75ee71 (diff)
Fix signed/unsigned comparison warning in PictureTest.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@7088 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r--tests/PictureTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp
index d14cf98737..26b1f56178 100644
--- a/tests/PictureTest.cpp
+++ b/tests/PictureTest.cpp
@@ -130,7 +130,7 @@ static void gather_from_colors(const SkBitmap& bm, SkPixelRef* const refs[],
// the color is transparent, meaning no bitmap was drawn in that
// pixel.
if (pmc) {
- int index = SkGetPackedR32(pmc);
+ uint32_t index = SkGetPackedR32(pmc);
SkASSERT(SkGetPackedG32(pmc) == index);
SkASSERT(SkGetPackedB32(pmc) == index);
SkASSERT(index < count);