diff options
| author | tjg <tjg> | 2001-10-12 10:22:05 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:20 +0100 |
| commit | 692977070514082a226f256e8df7dfea33b31bc2 (patch) | |
| tree | 7f9151d86255611ffb88dc0f39a854476337cdd9 /utils.c | |
| parent | f5e2a8522f34b56018b77520738fb15fab083ee6 (diff) | |
fix a few more warnings
Diffstat (limited to 'utils.c')
| -rw-r--r-- | utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 "../" */ |