diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-14 21:53:24 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-14 21:53:24 +0000 |
commit | adacc7067ad617cdc7bbef39192ca80f4b4d27f9 (patch) | |
tree | 3f6a13154d08c42648ccea82257f37f7c321b00e /tools/skpdiff/skpdiff_util.cpp | |
parent | 04b57f87ab6789f7fc302eda8a993d88d4feea8f (diff) |
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
Diffstat (limited to 'tools/skpdiff/skpdiff_util.cpp')
-rw-r--r-- | tools/skpdiff/skpdiff_util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/skpdiff/skpdiff_util.cpp b/tools/skpdiff/skpdiff_util.cpp index 5b19c7311d..171721c3be 100644 --- a/tools/skpdiff/skpdiff_util.cpp +++ b/tools/skpdiff/skpdiff_util.cpp @@ -130,7 +130,7 @@ bool get_directory(const char path[], SkTArray<SkString>* entries) { 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] == '\\') { |