Index: src/utils/win/SkWGL_win.cpp |
=================================================================== |
--- src/utils/win/SkWGL_win.cpp (revision 11758) |
+++ src/utils/win/SkWGL_win.cpp (working copy) |
@@ -20,10 +20,10 @@ |
return true; |
} |
const char* extensionString = this->getExtensionsString(dc); |
- int extLength = strlen(ext); |
+ size_t extLength = strlen(ext); |
while (true) { |
- int n = strcspn(extensionString, " "); |
+ size_t n = strcspn(extensionString, " "); |
if (n == extLength && 0 == strncmp(ext, extensionString, n)) { |
return true; |
} |