Index: tools/skpdiff/skpdiff_util.cpp |
=================================================================== |
--- tools/skpdiff/skpdiff_util.cpp (revision 11758) |
+++ tools/skpdiff/skpdiff_util.cpp (working copy) |
@@ -130,7 +130,7 @@ |
return true; |
#elif SK_BUILD_FOR_WIN32 |
char pathDirGlob[MAX_PATH]; |
- char pathLength = strlen(path); |
+ size_t pathLength = strlen(path); |
strncpy(pathDirGlob, path, pathLength); |
if (path[pathLength - 1] == '/' || path[pathLength - 1] == '\\') { |