Index: dm/DMWriteTask.cpp |
diff --git a/dm/DMWriteTask.cpp b/dm/DMWriteTask.cpp |
index fa0d129d688628a4bfc69ce1a86af21f6172c512..fbb3c77d9e6c84b9352ec2f80a0e9d0f3496e373 100644 |
--- a/dm/DMWriteTask.cpp |
+++ b/dm/DMWriteTask.cpp |
@@ -25,7 +25,7 @@ static int split_suffixes(int N, const char* name, SkTArray<SkString>* out) { |
for (int i = 0; i < N; i++) { |
// We're splitting off suffixes from the back to front. |
out->push_back(split[split.count()-i-1]); |
- consumed += out->back().size() + 1; // Add one for the _. |
+ consumed += SkToInt(out->back().size() + 1); // Add one for the _. |
} |
return consumed; |
} |