mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-11 05:11:33 +00:00
silence MSVC type narrowing warnings in fluid_settings.c
This commit is contained in:
parent
70fbabf97c
commit
cdc8d38f4e
1 changed files with 2 additions and 2 deletions
|
@ -1735,7 +1735,7 @@ fluid_settings_option_concat(fluid_settings_t *settings, const char *name,
|
||||||
fluid_setting_node_t *node;
|
fluid_setting_node_t *node;
|
||||||
fluid_str_setting_t *setting;
|
fluid_str_setting_t *setting;
|
||||||
fluid_list_t *p, *newlist = NULL;
|
fluid_list_t *p, *newlist = NULL;
|
||||||
int count, len;
|
size_t count, len;
|
||||||
char *str, *option;
|
char *str, *option;
|
||||||
|
|
||||||
fluid_return_val_if_fail(settings != NULL, NULL);
|
fluid_return_val_if_fail(settings != NULL, NULL);
|
||||||
|
@ -1823,7 +1823,7 @@ fluid_settings_foreach_iter(void *key, void *value, void *data)
|
||||||
fluid_settings_foreach_bag_t *bag = data;
|
fluid_settings_foreach_bag_t *bag = data;
|
||||||
char *keystr = key;
|
char *keystr = key;
|
||||||
fluid_setting_node_t *node = value;
|
fluid_setting_node_t *node = value;
|
||||||
int pathlen;
|
size_t pathlen;
|
||||||
char *s;
|
char *s;
|
||||||
|
|
||||||
pathlen = strlen(bag->path);
|
pathlen = strlen(bag->path);
|
||||||
|
|
Loading…
Reference in a new issue