mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-13 04:57:05 +00:00
FS-7966: fix more msvc 2015 warnings.
This commit is contained in:
1 parent
4b8587a863
commit
5c59a0159d
30 files changed
+79
-66
No files matched your search
@@ -161,7 +161,7 @@ static int load_config(int reloading)
|
||||
lp = new_list;
|
||||
|
||||
for (param = switch_xml_child(list, "node"); param; param = param->next) {
|
||||
char *name = (char *) switch_xml_attr_soft(param, "name");
|
||||
char *name_attr = (char *) switch_xml_attr_soft(param, "name");
|
||||
char *weight_val = (char *) switch_xml_attr_soft(param, "weight");
|
||||
int tmp;
|
||||
|
||||
@@ -171,7 +171,7 @@ static int load_config(int reloading)
|
||||
}
|
||||
|
||||
switch_zmalloc(node, sizeof(*node));
|
||||
node->name = strdup(name);
|
||||
node->name = strdup(name_attr);
|
||||
node->wval = tmp;
|
||||
|
||||
if (np) {
|
||||
|
||||
Reference in new issue
Block a user