mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
[1.29.15] Fix compiler warning, conversion from string constant to 'char *'.
espeakedit: Change compile_report file to include the phoneme name as well as phoneme table which uses each data file. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@95 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+13
-13
@@ -490,22 +490,22 @@ int delete_espeak_command( t_espeak_command* the_command)
|
||||
|
||||
case ET_VOICE_SPEC:
|
||||
{
|
||||
espeak_VOICE* data = &(the_command->u.my_voice_spec);
|
||||
espeak_VOICE* data = &(the_command->u.my_voice_spec);
|
||||
|
||||
if (data->name)
|
||||
{
|
||||
free(data->name);
|
||||
}
|
||||
if (data->name)
|
||||
{
|
||||
free((void *)data->name);
|
||||
}
|
||||
|
||||
if (data->languages)
|
||||
{
|
||||
free(data->languages);
|
||||
}
|
||||
if (data->languages)
|
||||
{
|
||||
free((void *)data->languages);
|
||||
}
|
||||
|
||||
if (data->identifier)
|
||||
{
|
||||
free(data->identifier);
|
||||
}
|
||||
if (data->identifier)
|
||||
{
|
||||
free((void *)data->identifier);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user