зеркало из https://github.com/mozilla/gecko-dev.git
Added a cast to make gcc happy.
This commit is contained in:
Родитель
76bfdf73df
Коммит
6764a771dc
|
@ -360,6 +360,6 @@ NS_IMETHODIMP nsMsgStatusFeedback::OnStatus(nsIChannel* channel, nsISupports* ct
|
|||
nsXPIDLString str;
|
||||
rv = sbs->FormatStatusMessage(aStatus, aStatusArg, getter_Copies(str));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
nsAutoString msg = str;
|
||||
nsAutoString msg = (const PRUnichar*)str;
|
||||
return ShowStatusString(msg.GetUnicode());
|
||||
}
|
||||
|
|
|
@ -2187,7 +2187,7 @@ nsBrowserWindow::OnStatus(nsIChannel* channel, nsISupports *ctxt,
|
|||
rv = sbs->FormatStatusMessage(aStatus, aStatusArg, getter_Copies(msg));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
PRUint32 size;
|
||||
nsAutoString msg2 = msg;
|
||||
nsAutoString msg2 = (const PRUnichar*)msg;
|
||||
mStatus->SetText(msg2, size);
|
||||
}
|
||||
return NS_OK;
|
||||
|
|
|
@ -409,7 +409,7 @@ nsStreamXferOp::OnStatus( nsIChannel *channel,
|
|||
nsXPIDLString str;
|
||||
rv = sbs->FormatStatusMessage(aStatus, aStatusArg, getter_Copies(str));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
nsAutoString msg = str;
|
||||
nsAutoString msg = (const PRUnichar*)str;
|
||||
rv = mObserver->Observe( (nsIStreamTransferOperation*)this,
|
||||
NS_ConvertASCIItoUCS2( NS_ISTREAMTRANSFER_PROGID ";onStatus" ).GetUnicode(),
|
||||
msg.GetUnicode() );
|
||||
|
|
Загрузка…
Ссылка в новой задаче