Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Unified Diff: include/core/SkReader32.h

Issue 247753003: fix size_t/int warnings (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/core/SkReader32.h
diff --git a/include/core/SkReader32.h b/include/core/SkReader32.h
index 40ae12ce23638c05755f5742e0ecaf63f8b22401..5ca0c4dd8f6b952f3b777887b07f66562c1d6325 100644
--- a/include/core/SkReader32.h
+++ b/include/core/SkReader32.h
@@ -40,7 +40,7 @@ public:
const void* peek() const { return fCurr; }
uint32_t available() const { return SkToU32(fStop - fCurr); }
- bool isAvailable(uint32_t size) const { return fCurr + size <= fStop; }
+ bool isAvailable(size_t size) const { return fCurr + size <= fStop; }
void rewind() { fCurr = fBase; }

Powered by Google App Engine
This is Rietveld 408576698