mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
Add enough consts to keep everyone happy.
This commit is contained in:
parent
81b4504baa
commit
50bb77244e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100826
@ -379,7 +379,7 @@ addunit(struct unittype * theunit, char *toadd, int flip)
|
||||
int
|
||||
compare(const void *item1, const void *item2)
|
||||
{
|
||||
return strcmp(*(const char **) item1, *(const char **) item2);
|
||||
return strcmp(*(const char * const *)item1, *(const char * const *)item2);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user