diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/skdiff_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/skdiff_utils.cpp b/tools/skdiff_utils.cpp index 1f5289b353..6f73a08831 100644 --- a/tools/skdiff_utils.cpp +++ b/tools/skdiff_utils.cpp @@ -115,7 +115,7 @@ static SkString replace_all(const SkString &input, static SkString filename_to_derived_filename(const SkString& filename, const char *suffix) { SkString diffName (filename); const char* cstring = diffName.c_str(); - int dotOffset = strrchr(cstring, '.') - cstring; + size_t dotOffset = strrchr(cstring, '.') - cstring; diffName.remove(dotOffset, diffName.size() - dotOffset); diffName.append(suffix); |