Explorar o código

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

svn:r6355
Nick Mathewson %!s(int64=19) %!d(string=hai) anos
pai
achega
53f7a1bb0c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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