fixing code that relied on implicit string construction

This commit is contained in:
scc@mozilla.org
2000-08-19 22:46:00 +00:00
parent 52de051578
commit 2cda921c3d
10 changed files with 26 additions and 25 deletions

View File

@@ -196,7 +196,7 @@ RDFContainerImpl::GetCount(PRInt32 *aCount)
rv = nextValLiteral->GetValue( getter_Copies(s) );
if (NS_FAILED(rv)) return rv;
nsAutoString nextValStr = (const PRUnichar*) s;
nsAutoString nextValStr(NS_STATIC_CAST(const PRUnichar*, s));
PRInt32 nextVal;
PRInt32 err;