mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Fix a const warning in bug1692 code
This commit is contained in:
parent
b76f46c6d8
commit
5252c9434f
@ -729,7 +729,7 @@ set_options(or_options_t *new_val, char **msg)
|
||||
smartlist_add(elements, line->value);
|
||||
}
|
||||
} else {
|
||||
smartlist_add(elements, options_format.vars[i].name);
|
||||
smartlist_add(elements, (char*)options_format.vars[i].name);
|
||||
smartlist_add(elements, NULL);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user