Fix compiler warning.

This commit is contained in:
waterson%netscape.com 1999-08-26 04:28:14 +00:00
parent 04dd952104
commit a079c6ff90
2 changed files with 4 additions and 3 deletions

View File

@ -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;

View File

@ -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 {