Browse Source

In fairness to gcc, a char** is often _not_ usable as a const void **.

svn:r6355
Nick Mathewson 19 years ago
parent
commit
53f7a1bb0c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/routerparse.c

+ 1 - 1
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