[tor-commits] [tor/master] Fix a const warning in bug1692 code
nickm at torproject.org
nickm at torproject.org
Wed Aug 10 19:06:44 UTC 2011
commit 5252c9434f3eb8873f1d98aa3cf279e66fb2517d
Author: Nick Mathewson <nickm at torproject.org>
Date: Wed Aug 10 15:06:11 2011 -0400
Fix a const warning in bug1692 code
---
src/or/config.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/or/config.c b/src/or/config.c
index e2e5cd3..5a45dfb 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);
}
}
More information about the tor-commits
mailing list