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

svn:r6355
This commit is contained in:
Nick Mathewson
2006-04-10 07:50:38 +00:00
parent eb3e28ba79
commit 53f7a1bb0c
+1 -1
View File
@@ -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