Chromium Code Reviews| Index: src/gpu/gl/GrGpuGL_program.cpp |
| =================================================================== |
| --- src/gpu/gl/GrGpuGL_program.cpp (revision 11997) |
| +++ src/gpu/gl/GrGpuGL_program.cpp (working copy) |
| @@ -291,7 +291,7 @@ |
| void GrGpuGL::setupGeometry(const DrawInfo& info, size_t* indexOffsetInBytes) { |
| - GrGLsizei stride = this->getDrawState().getVertexSize(); |
| + GrGLsizei stride = static_cast<GrGLsizei>(this->getDrawState().getVertexSize()); |
| size_t vertexOffsetInBytes = stride * info.startVertex(); |