Browse Source

Fix a const warning in bug1692 code

Nick Mathewson 14 years ago
parent
commit
5252c9434f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/config.c

+ 1 - 1
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);
         }
       }