Index: src/core/SkComposeShader.cpp |
diff --git a/src/core/SkComposeShader.cpp b/src/core/SkComposeShader.cpp |
index 77bc46f30a3fc98798478a0ed621861e9955c765..2c27c9e7d1ec0aec3aef01268376f508735f9798 100644 |
--- a/src/core/SkComposeShader.cpp |
+++ b/src/core/SkComposeShader.cpp |
@@ -30,11 +30,11 @@ SkComposeShader::SkComposeShader(SkReadBuffer& buffer) : |
INHERITED(buffer) { |
fShaderA = buffer.readShader(); |
if (NULL == fShaderA) { |
- fShaderA = SkNEW_ARGS(SkColorShader, (0)); |
+ fShaderA = SkNEW_ARGS(SkColorShader, ((SkColor)0)); |
} |
fShaderB = buffer.readShader(); |
if (NULL == fShaderB) { |
- fShaderB = SkNEW_ARGS(SkColorShader, (0)); |
+ fShaderB = SkNEW_ARGS(SkColorShader, ((SkColor)0)); |
} |
fMode = buffer.readXfermode(); |
} |