diff options
author | 2015-12-10 13:46:04 -0800 | |
---|---|---|
committer | 2015-12-10 13:46:04 -0800 | |
commit | 9fba90979243501d2348d1539ad2bb0bdf411b5b (patch) | |
tree | 30655138ce357c32f357570b882dbe1bf698119c | |
parent | 70ee31b2fa127eee6c0cea61cf05508e9d3ca7b1 (diff) |
Use size_t for strlen() return value
BUG=skia:2810
Review URL: https://codereview.chromium.org/1518843002
-rw-r--r-- | src/gpu/gl/egl/SkCreatePlatformGLContext_egl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/egl/SkCreatePlatformGLContext_egl.cpp b/src/gpu/gl/egl/SkCreatePlatformGLContext_egl.cpp index 591cae349c..3b2488dfc6 100644 --- a/src/gpu/gl/egl/SkCreatePlatformGLContext_egl.cpp +++ b/src/gpu/gl/egl/SkCreatePlatformGLContext_egl.cpp @@ -277,7 +277,7 @@ GrGLFuncPtr EGLGLContext::onPlatformGetProcAddress(const char* procName) const { } static bool supports_egl_extension(EGLDisplay display, const char* extension) { - int extensionLength = strlen(extension); + size_t extensionLength = strlen(extension); const char* extensionsStr = eglQueryString(display, EGL_EXTENSIONS); while (const char* match = strstr(extensionsStr, extension)) { // Ensure the string we found is its own extension, not a substring of a larger extension |