From 692977070514082a226f256e8df7dfea33b31bc2 Mon Sep 17 00:00:00 2001 From: tjg Date: Fri, 12 Oct 2001 10:22:05 +0000 Subject: fix a few more warnings --- utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils.c') diff --git a/utils.c b/utils.c index 00be28b..b36f5f6 100644 --- a/utils.c +++ b/utils.c @@ -57,7 +57,7 @@ extern int n2u(char *s, unsigned int base) { /* The last word in portable ANSI: a strcmp wrapper for qsort */ extern int starstrcmp(const void *s1, const void *s2) { - return strcmp(*(char **)s1, *(char **)s2); + return strcmp(*(char * const *)s1, *(char * const *)s2); } /* tests to see if pathname begins with "/", "./", or "../" */ -- cgit v1.2.3