=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/top/commands.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/usr.bin/top/commands.c 2003/06/17 00:51:29 1.11 +++ src/usr.bin/top/commands.c 2003/06/20 16:53:15 1.12 @@ -1,4 +1,4 @@ -/* $OpenBSD: commands.c,v 1.11 2003/06/17 00:51:29 jfb Exp $ */ +/* $OpenBSD: commands.c,v 1.12 2003/06/20 16:53:15 deraadt Exp $ */ /* * Top users/processes display for Unix @@ -197,7 +197,7 @@ return (NULL); /* sort the errors */ - qsort((char *) errs, errcnt, sizeof(struct errs), err_compar); + qsort(errs, errcnt, sizeof(struct errs), err_compar); /* need a space at the front of the error string */ string[0] = ' ';