commit | e9cd27d4a3c92393cc6c79d4d6f93d266411d95e | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Oct 16 17:48:11 2013 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Oct 16 17:48:11 2013 +0000 |
tree | 5f7abfe6a8784b514a386a3d308242bd9224c257 | |
parent | 1ae6c2b0121fd1fcd5b736a810060fc66ed68286 [diff] [blame] |
Third wave of Win64 warning cleanup https://codereview.chromium.org/27487003/ git-svn-id: http://skia.googlecode.com/svn/trunk@11817 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/gl/GrGLShaderBuilder.cpp b/src/gpu/gl/GrGLShaderBuilder.cpp index 8b7d614..7194240 100644 --- a/src/gpu/gl/GrGLShaderBuilder.cpp +++ b/src/gpu/gl/GrGLShaderBuilder.cpp
@@ -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;