Index: media/base/ranges.h |
diff --git a/media/base/ranges.h b/media/base/ranges.h |
index 917f30e141eee1c6ba53d33f62b922c70c85f6f6..e350a49cbcf7fd43cdc68eb63a1cdde3f889e137 100644 |
--- a/media/base/ranges.h |
+++ b/media/base/ranges.h |
@@ -32,8 +32,8 @@ class Ranges { |
size_t size() const; |
// Return the "i"'th range's start & end (0-based). |
- T start(int i) const; |
- T end(int i) const; |
+ T start(size_t i) const; |
+ T end(size_t i) const; |
// Clear all ranges. |
void clear(); |
@@ -119,12 +119,12 @@ size_t Ranges<T>::size() const { |
} |
template<class T> |
-T Ranges<T>::start(int i) const { |
+T Ranges<T>::start(size_t i) const { |
return ranges_[i].first; |
} |
template<class T> |
-T Ranges<T>::end(int i) const { |
+T Ranges<T>::end(size_t i) const { |
return ranges_[i].second; |
} |