Fix build bustage due to 'error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]' after bug 1018288 landing in m-c. Part 2. rs=bustage-fix CLOSED TREE
This commit is contained in:
Родитель
4b72aa6177
Коммит
732cf1be13
|
@ -380,11 +380,11 @@ nsIMdbFile_SlotStrongFile(nsIMdbFile* self, morkEnv* ev, nsIMdbFile** ioSlot)
|
|||
*ioSlot = 0;
|
||||
NS_RELEASE(file);
|
||||
}
|
||||
if ( self && ev->Good() && (NS_ADDREF(self)>=0) && ev->Good() )
|
||||
*ioSlot = self;
|
||||
if (self && ev->Good())
|
||||
NS_ADDREF(*ioSlot = self);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void // utility method very similar to morkNode::SlotStrongNode():
|
||||
nsIMdbHeap_SlotStrongHeap(nsIMdbHeap* self, morkEnv* ev, nsIMdbHeap** ioSlot)
|
||||
// If *ioSlot is non-nil, that heap is released by CutStrongRef() and
|
||||
|
|
Загрузка…
Ссылка в новой задаче