mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-01-31 13:40:35 +00:00
Removing passing argument 2 of 'show_settings_str_options' discards 'const' qualifier from pointer target type [-Werror] warnngs from code
fix #131
This commit is contained in:
parent
905d9e9d26
commit
2526982f9f
2 changed files with 2 additions and 2 deletions
|
@ -441,7 +441,7 @@ fluid_settings_set(fluid_settings_t* settings, const char *name, void* value)
|
|||
/** returns 1 if the value has been registered correctly, 0
|
||||
otherwise */
|
||||
int
|
||||
fluid_settings_register_str(fluid_settings_t* settings, char* name, char* def, int hints,
|
||||
fluid_settings_register_str(fluid_settings_t* settings, const char* name, const char* def, int hints,
|
||||
fluid_str_update_t fun, void* data)
|
||||
{
|
||||
fluid_setting_node_t *node;
|
||||
|
|
|
@ -37,7 +37,7 @@ typedef int (*fluid_int_update_t)(void* data, const char* name, int value);
|
|||
|
||||
/** returns 0 if the value has been registered correctly, non-zero
|
||||
otherwise */
|
||||
int fluid_settings_register_str(fluid_settings_t* settings, char* name, char* def, int hints,
|
||||
int fluid_settings_register_str(fluid_settings_t* settings, const char* name, const char* def, int hints,
|
||||
fluid_str_update_t fun, void* data);
|
||||
|
||||
/** returns 0 if the value has been registered correctly, non-zero
|
||||
|
|
Loading…
Reference in a new issue