mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Fix compiler warning.
This commit is contained in:
parent
04dd952104
commit
a079c6ff90
@ -116,9 +116,10 @@ NS_NewToolboxFrame ( nsIFrame** aNewFrame )
|
||||
// Init, if necessary
|
||||
//
|
||||
nsToolboxFrame :: nsToolboxFrame ( )
|
||||
: mSumOfToolbarHeights(0), mNumToolbars(0), mGrippyHilighted(kNoGrippyHilighted), mDragListenerDelegate(nsnull),
|
||||
: mSumOfToolbarHeights(0), mNumToolbars(0), mGrippyHilighted(kNoGrippyHilighted),
|
||||
kCollapsedAtom(dont_AddRef( NS_NewAtom("collapsed"))),
|
||||
kHiddenAtom(dont_AddRef( NS_NewAtom("hidden")))
|
||||
kHiddenAtom(dont_AddRef( NS_NewAtom("hidden"))),
|
||||
mDragListenerDelegate(nsnull)
|
||||
{
|
||||
// we start off vertical
|
||||
mHorizontal = PR_FALSE;
|
||||
|
@ -120,7 +120,7 @@ nsDirectoryIndexStream::GetLength(PRUint32* aLength)
|
||||
// Lie, and tell the caller that the stream is endless (until we
|
||||
// actually don't have anything left).
|
||||
if (mIter->Exists()) {
|
||||
*aLength = -1;
|
||||
*aLength = PRUint32(-1);
|
||||
return NS_OK;
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user