Pārlūkot izejas kodu

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

svn:r6355
Nick Mathewson 19 gadi atpakaļ
vecāks
revīzija
53f7a1bb0c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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