mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
TTS: Fix compiler warning
This commit is contained in:
parent
e3a8524818
commit
c71ac4748b
@ -240,7 +240,7 @@ int MacOSXTextToSpeechManager::getDefaultVoice() {
|
||||
NSString *defaultVoice = [NSSpeechSynthesizer defaultVoice];
|
||||
if (defaultVoice == nil)
|
||||
return 0;
|
||||
for (int i = 0 ; i < _ttsState->_availableVoices.size() ; ++i) {
|
||||
for (unsigned int i = 0 ; i < _ttsState->_availableVoices.size() ; ++i) {
|
||||
if ([defaultVoice isEqualToString:(NSString*)(_ttsState->_availableVoices[i].getData())])
|
||||
return i;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user