[or-cvs] In fairness to gcc, a char** is often _not_ usable as a con...
Nick Mathewson
nickm at seul.org
Mon Apr 10 07:50:40 UTC 2006
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv29258/src/or
Modified Files:
routerparse.c
Log Message:
In fairness to gcc, a char** is often _not_ usable as a const void **.
Index: routerparse.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerparse.c,v
retrieving revision 1.182
retrieving revision 1.183
diff -u -p -d -r1.182 -r1.183
--- routerparse.c 10 Apr 2006 07:40:39 -0000 1.182
+++ routerparse.c 10 Apr 2006 07:50:38 -0000 1.183
@@ -1935,7 +1935,7 @@ sort_version_list(smartlist_t *versions,
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
More information about the tor-commits
mailing list