Index: samplecode/SampleApp.cpp |
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp |
index 3b953f484693f4fcf21651d3b9f125e37554c2b3..287639ad88b2523f393316f3ad2a0f22b5598380 100644 |
--- a/samplecode/SampleApp.cpp |
+++ b/samplecode/SampleApp.cpp |
@@ -128,7 +128,7 @@ static bool readTitleFromPrefs(SkString* title) { |
return false; |
} |
- int len = stream.getLength(); |
+ size_t len = stream.getLength(); |
SkString data(len); |
stream.read(data.writable_str(), len); |
const char* s = data.c_str(); |