mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix a const warning in bug1692 code
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user