Remove a bogus cast and lockdown users(1) with WARNS?=2

Submitted by:	David Hill <david@phobia.ms>
Reviewed by:	-audit
MFC after:	1 week
This commit is contained in:
Mike Barcroft 2001-09-09 00:40:04 +00:00
parent 7e0fb01917
commit 0caf2ae89d
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= users
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -117,5 +117,5 @@ int
scmp(p, q)
const void *p, *q;
{
return(strncmp((char *)p, (char *)q, UT_NAMESIZE));
return(strncmp(p, q, UT_NAMESIZE));
}