Make things build on FreeBSD again.
This commit is contained in:
parent
1c253ceb58
commit
478ee9636f
8 changed files with 16 additions and 22 deletions
|
|
@ -4,9 +4,9 @@
|
|||
#include "diff.h"
|
||||
|
||||
static int
|
||||
itemcmp(void *v1, void *v2)
|
||||
itemcmp(const void *v1, const void *v2)
|
||||
{
|
||||
char **d1 = v1, **d2 = v2;
|
||||
char *const*d1 = v1, *const*d2 = v2;
|
||||
|
||||
return strcmp(*d1, *d2);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue