summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/routerparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 5f79d951df..2efd7b6f4a 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -1935,7 +1935,7 @@ sort_version_list(smartlist_t *versions, int remove_duplicates)
return;
for (i = 1; i < smartlist_len(versions); ++i) {
- char *a, *b;
+ const void *a, *b;
a = smartlist_get(versions, i-1);
b = smartlist_get(versions, i);
/* use version_cmp so we catch multiple representations of the same