From d7b1af68deefe6e4ca5fa635625154c1e4f2eae6 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Mon, 9 Dec 2013 20:31:50 +0000 Subject: [PATCH] cast -1 to Mode to avoid warning (enum compared to signed int) git-svn-id: http://skia.googlecode.com/svn/trunk@12580 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/effects/GrTextureDomain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu/effects/GrTextureDomain.cpp b/src/gpu/effects/GrTextureDomain.cpp index 517eb6dce1..70d6159224 100644 --- a/src/gpu/effects/GrTextureDomain.cpp +++ b/src/gpu/effects/GrTextureDomain.cpp @@ -45,7 +45,7 @@ void GrTextureDomain::GLDomain::sampleTexture(GrGLShaderBuilder* builder, const SkString& inCoords, const GrGLEffect::TextureSampler sampler, const char* inModulateColor) { - SkASSERT(-1 == fMode || textureDomain.mode() == fMode); + SkASSERT((Mode)-1 == fMode || textureDomain.mode() == fMode); SkDEBUGCODE(fMode = textureDomain.mode();) if (kIgnore_Mode == textureDomain.mode()) {