summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-10-27 21:14:11 +0000
committerNick Mathewson <nickm@torproject.org>2004-10-27 21:14:11 +0000
commit2fbf31533ba595c3c0ba6a0c1349208fbdfb498a (patch)
tree226089a8ad38086deea48477c9484a7b72e574b8 /src/or/router.c
parentce5709184bef665a545bcbf207598ad0f991a67b (diff)
downloadtor-2fbf31533ba595c3c0ba6a0c1349208fbdfb498a.tar.gz
tor-2fbf31533ba595c3c0ba6a0c1349208fbdfb498a.zip
Tricksy compiler warnings! We hates them, hates them forever, my precious!
svn:r2615
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index c0d6947e99..3dc145bd9b 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -449,7 +449,7 @@ static void router_add_exit_policy_from_config(routerinfo_t *router) {
/* Else, append the default exitpolicy. */
default_policy.key = NULL;
- default_policy.value = DEFAULT_EXIT_POLICY;
+ default_policy.value = (char*)DEFAULT_EXIT_POLICY;
default_policy.next = NULL;
config_parse_exit_policy(&default_policy, &router->exit_policy);
}