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

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);
}