summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2002-02-13 22:43:45 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2002-02-13 22:43:45 +0000
commite176044ecbc85fbf8eeab79ce9d746706c9bb9ef (patch)
tree75e0b00fa8293698070d2b820c4489584be54400
parent217b0b07917ac5f475a49566515dbb0dd718e9e3 (diff)
remove the cast too; ok deraadt
-rw-r--r--usr.sbin/amd/amd/misc_rpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/amd/amd/misc_rpc.c b/usr.sbin/amd/amd/misc_rpc.c
index 107fe3000fc..28c127ced87 100644
--- a/usr.sbin/amd/amd/misc_rpc.c
+++ b/usr.sbin/amd/amd/misc_rpc.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)misc_rpc.c 8.1 (Berkeley) 6/6/93
- * $Id: misc_rpc.c,v 1.2 2002/02/13 22:32:46 deraadt Exp $
+ * $Id: misc_rpc.c,v 1.3 2002/02/13 22:43:44 pvalchev Exp $
*/
/*
@@ -132,7 +132,7 @@ AUTH *auth;
/*
* Called procedure number
*/
- if (!xdr_u_long(&msg_xdr, (enum_t *) &proc))
+ if (!xdr_u_long(&msg_xdr, &proc))
return -EIO;
/*
* Authorization