Fix qsort() wrapper definition, missing const directives.

This commit is contained in:
Joachim Nilsson 2010-07-18 02:28:52 +02:00
parent 3c4cf96bfc
commit da4bd00eef

View File

@ -37,7 +37,7 @@ char *strdup(const char *p)
#endif
/* Wrap strcmp() for qsort() */
static int compare(void *p1, void *p2)
static int compare(const void *p1, const void *p2)
{
char **v1 = (char **)p1;
char **v2 = (char **)p2;