Index: webrtc/modules/audio_processing/processing_component.h |
diff --git a/webrtc/modules/audio_processing/processing_component.h b/webrtc/modules/audio_processing/processing_component.h |
index 8ee3ac6c7dbf9db09d7f08fb85d8aeb5dbda6188..0aa198f1b82b6ed08abeb6e2db60cf98986fb956 100644 |
--- a/webrtc/modules/audio_processing/processing_component.h |
+++ b/webrtc/modules/audio_processing/processing_component.h |
@@ -31,21 +31,21 @@ class ProcessingComponent { |
protected: |
virtual int Configure(); |
int EnableComponent(bool enable); |
- void* handle(int index) const; |
- int num_handles() const; |
+ void* handle(size_t index) const; |
+ size_t num_handles() const; |
private: |
virtual void* CreateHandle() const = 0; |
virtual int InitializeHandle(void* handle) const = 0; |
virtual int ConfigureHandle(void* handle) const = 0; |
virtual void DestroyHandle(void* handle) const = 0; |
- virtual int num_handles_required() const = 0; |
+ virtual size_t num_handles_required() const = 0; |
virtual int GetHandleError(void* handle) const = 0; |
std::vector<void*> handles_; |
bool initialized_; |
bool enabled_; |
- int num_handles_; |
+ size_t num_handles_; |
}; |
} // namespace webrtc |