diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-04-10 07:50:38 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-04-10 07:50:38 +0000 |
commit | 53f7a1bb0c84d026cff0478aa8975c202ce84886 (patch) | |
tree | 50740339e981abcf02740d4a85585d02bee9da56 | |
parent | eb3e28ba79e5e0e9f16a67934a7f8b3479df41b9 (diff) | |
download | tor-53f7a1bb0c84d026cff0478aa8975c202ce84886.tar tor-53f7a1bb0c84d026cff0478aa8975c202ce84886.tar.gz |
In fairness to gcc, a char** is often _not_ usable as a const void **.
svn:r6355
-rw-r--r-- | src/or/routerparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 5f79d951d..2efd7b6f4 100644 --- a/src/or/routerparse.c +++ b/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 |