diff options
-rw-r--r-- | tests/PictureTest.cpp | 2 |
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); |