From 5252c9434f3eb8873f1d98aa3cf279e66fb2517d Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 10 Aug 2011 15:06:11 -0400 Subject: [PATCH] Fix a const warning in bug1692 code --- src/or/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/config.c b/src/or/config.c index e2e5cd3a6b..5a45dfbe15 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -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); } }