зеркало из https://github.com/mozilla/pjs.git
remove compile-time warning that my checkin from this morning introduced
This commit is contained in:
Родитель
8789a639a1
Коммит
1f61dde518
|
@ -252,7 +252,7 @@ nsresult nsCommonDialogs::Select(nsIDOMWindow *inParent, const PRUnichar *inDial
|
|||
block->SetString( 0, inDialogTitle );
|
||||
block->SetString(1, inMsg );
|
||||
block->SetInt( eSelection, inCount );
|
||||
for ( PRInt32 i = 2; i<= inCount+1; i++ )
|
||||
for ( PRUint32 i = 2; i<= inCount+1; i++ )
|
||||
{
|
||||
nsAutoString temp(inList[i-2] );
|
||||
const PRUnichar* text = temp.GetUnicode();
|
||||
|
|
|
@ -560,7 +560,6 @@ nsresult nsNetSupportDialog::Select(const PRUnichar *inDialogTitle, const PRUnic
|
|||
appshellservice->GetHiddenWindow(getter_AddRefs( webshellwindow ) );
|
||||
nsCOMPtr<nsIPrompt> prompter(do_QueryInterface( webshellwindow ));
|
||||
PRInt32 selectedIndex;
|
||||
PRBool rtnValue;
|
||||
rv = prompter->Select( inDialogTitle, inMsg, inCount, inList, outSelection,_retval );
|
||||
*outSelection = selectedIndex;
|
||||
return rv;
|
||||
|
|
Загрузка…
Ссылка в новой задаче