Index: tools/skdiff_utils.cpp |
=================================================================== |
--- tools/skdiff_utils.cpp (revision 11775) |
+++ tools/skdiff_utils.cpp (working copy) |
@@ -115,7 +115,7 @@ |
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); |