diff options
| author | David Malone <dwmalone@FreeBSD.org> | 2002-07-28 16:23:28 +0000 |
|---|---|---|
| committer | David Malone <dwmalone@FreeBSD.org> | 2002-07-28 16:23:28 +0000 |
| commit | 50bb77244edeb01f20486fe51ab19a7fc9a92785 (patch) | |
| tree | 4bfdbbad9cd9351aedf5a8c7c4ae8fdcd303c0a9 /usr.bin | |
| parent | 81b4504baa72c0bb4e5d960934059abd566a60a5 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/units/units.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/units/units.c b/usr.bin/units/units.c index e789a1703b260..9ca5cda7f8148 100644 --- a/usr.bin/units/units.c +++ b/usr.bin/units/units.c @@ -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); } |
