commit | adacc7067ad617cdc7bbef39192ca80f4b4d27f9 | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Oct 14 21:53:24 2013 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Oct 14 21:53:24 2013 +0000 |
tree | 3f6a13154d08c42648ccea82257f37f7c321b00e | |
parent | 04b57f87ab6789f7fc302eda8a993d88d4feea8f [diff] [blame] |
Start cleaning up 64bit Win warnings https://codereview.chromium.org/27192003/ git-svn-id: http://skia.googlecode.com/svn/trunk@11764 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/skpdiff/skpdiff_util.cpp b/tools/skpdiff/skpdiff_util.cpp index 5b19c73..171721c 100644 --- a/tools/skpdiff/skpdiff_util.cpp +++ b/tools/skpdiff/skpdiff_util.cpp
@@ -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] == '\\') {