commit | 2cfa3200fda29279eba1240170c7e873d12f9d48 | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Sat Apr 19 22:00:40 2014 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Sat Apr 19 22:00:40 2014 +0000 |
tree | 42c50379d08cfbbf9d2af7b316010feafe1b1f78 | |
parent | 2dceedaa1e4dfb9accc82d8e3d3afac9ba5b2142 [diff] [blame] |
fix warnings around size_t/int fix warnings around undeclared (non-static) functions TBR=bsalomon@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/242643008 git-svn-id: http://skia.googlecode.com/svn/trunk@14267 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp b/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp index 2751e02..cbfbb26 100644 --- a/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp +++ b/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp
@@ -712,7 +712,7 @@ 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;