Fix a const warning in bug1692 code

This commit is contained in:
Nick Mathewson 2011-08-10 15:06:11 -04:00
parent b76f46c6d8
commit 5252c9434f

View File

@ -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);
}
}