Skip to content

Commit

Permalink
Try to fix compile errors on MacOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
m1maker committed Feb 20, 2025
1 parent 7cc931d commit 62bf743
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions SRC/AVSpeech.mm
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,10 @@ bool SetVoice(uint64_t index){
int voice_count = obj->GetVoiceCount();
char** voices = (char**)value;
for (int i = 0; i < voice_count; ++i) {
(const char* desc = obj->GetVoiceName(i);
const char* desc = obj->GetVoiceName(i);
strcpy(voices[i], desc);
}
}
return true;
return true;
}
default:
return false;
Expand Down

0 comments on commit 62bf743

Please sign in to comment.