mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 739248 - fix signed/unsigned comparison warnings in the spellchecker; r=ehsan
This commit is contained in:
parent
dfe05c1f66
commit
205065807d
@ -420,7 +420,7 @@ mozHunspell::LoadDictionaryList()
|
||||
}
|
||||
|
||||
// find dictionaries from restartless extensions
|
||||
for (PRUint32 i = 0; i < mDynamicDirectories.Count(); i++) {
|
||||
for (PRInt32 i = 0; i < mDynamicDirectories.Count(); i++) {
|
||||
LoadDictionariesFromDir(mDynamicDirectories[i]);
|
||||
}
|
||||
|
||||
|
@ -318,7 +318,7 @@ mozSpellChecker::GetDictionaryList(nsTArray<nsString> *aDictionaryList)
|
||||
rv = GetEngineList(&spellCheckingEngines);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
for (PRUint32 i = 0; i < spellCheckingEngines.Count(); i++) {
|
||||
for (PRInt32 i = 0; i < spellCheckingEngines.Count(); i++) {
|
||||
nsCOMPtr<mozISpellCheckingEngine> engine = spellCheckingEngines[i];
|
||||
|
||||
PRUint32 count = 0;
|
||||
@ -376,7 +376,7 @@ mozSpellChecker::SetCurrentDictionary(const nsAString &aDictionary)
|
||||
rv = GetEngineList(&spellCheckingEngines);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
for (PRUint32 i = 0; i < spellCheckingEngines.Count(); i++) {
|
||||
for (PRInt32 i = 0; i < spellCheckingEngines.Count(); i++) {
|
||||
// We must set mSpellCheckingEngine before we call SetDictionary, since
|
||||
// SetDictionary calls back to this spell checker to check if the
|
||||
// dictionary was set
|
||||
|
Loading…
Reference in New Issue
Block a user