Skip to content

Commit

Permalink
Fix a fluidsynth const'ness issue
Browse files Browse the repository at this point in the history
  • Loading branch information
x42 committed Aug 20, 2017
1 parent b0c1945 commit 7e2ff95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fluidsynth/src/fluid_settings.c
Expand Up @@ -443,7 +443,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, char* def, int hints,
fluid_str_update_t fun, void* data)
{
fluid_setting_node_t *node;
Expand Down
2 changes: 1 addition & 1 deletion fluidsynth/src/fluid_settings.h
Expand Up @@ -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, char* def, int hints,
fluid_str_update_t fun, void* data);

/** returns 0 if the value has been registered correctly, non-zero
Expand Down

0 comments on commit 7e2ff95

Please sign in to comment.