mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
In fairness to gcc, a char** is often _not_ usable as a const void **.
svn:r6355
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user