Index: src/gpu/gl/debug/GrGLCreateDebugInterface.cpp |
diff --git a/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp b/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp |
index 2751e02c189d55b23c9663049330ffdb7077098b..cbfbb266c5536f5a06c0520487c83c6e0fe0e963 100644 |
--- a/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp |
+++ b/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp |
@@ -712,7 +712,7 @@ GrGLvoid GR_GL_FUNCTION_TYPE debugGLGetBufferParameteriv(GrGLenum target, |
case GR_GL_BUFFER_SIZE: |
*params = 0; |
if (buffer) |
- *params = buffer->getSize(); |
+ *params = SkToInt(buffer->getSize()); |
break; |
case GR_GL_BUFFER_USAGE: |
*params = GR_GL_STATIC_DRAW; |