From 53f7a1bb0c84d026cff0478aa8975c202ce84886 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 10 Apr 2006 07:50:38 +0000 Subject: In fairness to gcc, a char** is often _not_ usable as a const void **. svn:r6355 --- src/or/routerparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf