Bug 909179 - Fix warning from previous patch CLOSED TREE

This commit is contained in:
Ethan Hugg 2013-09-05 14:57:58 -07:00
parent 70e9e8021a
commit 6b0b0cb69d

View File

@ -389,7 +389,7 @@ class IceTestPeer : public sigslot::has_slots<> {
streams_[i]->ParseAttributes(attributes);
}
void DisableComponent(int stream, int component_id) {
void DisableComponent(size_t stream, int component_id) {
ASSERT_LT(stream, streams_.size());
nsresult res = streams_[stream]->DisableComponent(component_id);
ASSERT_TRUE(NS_SUCCEEDED(res));