Cast function args to silence warning.

Submitted by: mbr
This commit is contained in:
Alfred Perlstein 2002-07-14 23:20:08 +00:00
parent 261e68702a
commit c549fd466b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99998

View File

@ -94,7 +94,8 @@ key_setsecret(secretkey)
{
keystatus status;
if (!key_call((u_long) KEY_SET, (xdrproc_t)xdr_keybuf, secretkey,
if (!key_call((u_long) KEY_SET, (xdrproc_t)xdr_keybuf,
(void *)secretkey,
(xdrproc_t)xdr_keystatus, &status)) {
return (-1);
}