diff --git a/mailnews/compose/src/nsMsgRecipientArray.cpp b/mailnews/compose/src/nsMsgRecipientArray.cpp index cdb4feed6cf..5a7ac7fe6f7 100644 --- a/mailnews/compose/src/nsMsgRecipientArray.cpp +++ b/mailnews/compose/src/nsMsgRecipientArray.cpp @@ -38,13 +38,13 @@ nsMsgRecipientArray::~nsMsgRecipientArray() /* the following macro actually implement addref, release and query interface for our class. */ NS_IMPL_ISUPPORTS(nsMsgRecipientArray, nsCOMTypeInfo::GetIID()); -nsresult nsMsgRecipientArray::StringAt(PRInt32 index, PRUnichar **_retval) +nsresult nsMsgRecipientArray::StringAt(PRInt32 idx, PRUnichar **_retval) { if (!_retval || !m_array) return NS_ERROR_NULL_POINTER; nsString aStr; - m_array->StringAt(index, aStr); + m_array->StringAt(idx, aStr); *_retval = aStr.ToNewUnicode(); return NS_OK; }