From b6b72e5761c7e4b938ee43472b10ddfb1bb6ce6e Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Thu, 28 Mar 2013 15:11:14 +0000 Subject: [PATCH] Attempt to silence signed/unsigned warnings in android build. Review URL: https://codereview.chromium.org/13168003 git-svn-id: http://skia.googlecode.com/svn/trunk@8434 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/gl/GrGLCaps.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp index 1f3cf16..461b3d6 100644 --- a/src/gpu/gl/GrGLCaps.cpp +++ b/src/gpu/gl/GrGLCaps.cpp @@ -462,7 +462,7 @@ void GrGLCaps::markColorConfigAndStencilFormatAsVerified( #if !GR_GL_CHECK_FBO_STATUS_ONCE_PER_FORMAT return; #endif - GrAssert((unsigned)config < kGrPixelConfigCnt); + GrAssert((unsigned)config < (unsigned)kGrPixelConfigCnt); GrAssert(fStencilFormats.count() == fStencilVerifiedColorConfigs.count()); int count = fStencilFormats.count(); // we expect a really small number of possible formats so linear search @@ -485,7 +485,7 @@ bool GrGLCaps::isColorConfigAndStencilFormatVerified( #if !GR_GL_CHECK_FBO_STATUS_ONCE_PER_FORMAT return false; #endif - GrAssert((unsigned)config < kGrPixelConfigCnt); + GrAssert((unsigned)config < (unsigned)kGrPixelConfigCnt); int count = fStencilFormats.count(); // we expect a really small number of possible formats so linear search // should be OK -- 2.7.4