Index: src/gpu/gl/GrGLShaderBuilder.cpp |
=================================================================== |
--- src/gpu/gl/GrGLShaderBuilder.cpp (revision 11815) |
+++ src/gpu/gl/GrGLShaderBuilder.cpp (working copy) |
@@ -630,7 +630,7 @@ |
} |
const GrGLchar* sourceStr = shaderSrc.c_str(); |
- int sourceLength = shaderSrc.size(); |
+ GrGLint sourceLength = static_cast<GrGLint>(shaderSrc.size()); |
GR_GL_CALL(gli, ShaderSource(shaderId, 1, &sourceStr, &sourceLength)); |
GrGLint compiled = GR_GL_INIT_ZERO; |