diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2002-07-28 16:23:28 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2002-07-28 16:23:28 +0000 |
commit | 8e2ebdedb2bf3b82ca9e27e56e79a712d6885914 (patch) | |
tree | 4bfdbbad9cd9351aedf5a8c7c4ae8fdcd303c0a9 /usr.bin/units/units.c | |
parent | 3f2a3935bb98bfde22fdb6d8a0c06d5a86632ee3 (diff) | |
download | FreeBSD-src-8e2ebdedb2bf3b82ca9e27e56e79a712d6885914.zip FreeBSD-src-8e2ebdedb2bf3b82ca9e27e56e79a712d6885914.tar.gz |
Add enough consts to keep everyone happy.
Diffstat (limited to 'usr.bin/units/units.c')
-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 e789a17..9ca5cda 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); } |