fix build breakage on Linux

the build breakage only happens if you build with -pedantic


git-svn-id: svn://10.0.0.236/trunk@25460 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%netscape.com
1999-03-29 22:04:04 +00:00
parent 52288e49bf
commit 7d8bed2985
2 changed files with 4 additions and 2 deletions

View File

@@ -1828,7 +1828,8 @@ NS_METHOD nsDocumentBindInfo::OnStatus(nsIURL* aURL, const PRUnichar* aMsg)
}
/* Pass the notification out to any observers... */
m_DocLoader->FireOnStatusURLLoad(aURL, nsAutoString(aMsg));
nsAutoString msgStr(aMsg);
m_DocLoader->FireOnStatusURLLoad(aURL, msgStr);
/* Pass the notification out to the Observer... */
if (nsnull != m_Observer) {

View File

@@ -1828,7 +1828,8 @@ NS_METHOD nsDocumentBindInfo::OnStatus(nsIURL* aURL, const PRUnichar* aMsg)
}
/* Pass the notification out to any observers... */
m_DocLoader->FireOnStatusURLLoad(aURL, nsAutoString(aMsg));
nsAutoString msgStr(aMsg);
m_DocLoader->FireOnStatusURLLoad(aURL, msgStr);
/* Pass the notification out to the Observer... */
if (nsnull != m_Observer) {