1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: fix ftbfs
---
--- a/src/ypset.c
+++ b/src/ypset.c
@@ -142,7 +142,7 @@
res = clnt_call (client, YPBINDPROC_SETDOM,
(xdrproc_t) xdr_ypbind2_setdom, (caddr_t) &ypsd,
- (xdrproc_t) xdr_void, NULL, tv);
+ (xdrproc_t) ((struct __rpc_xdr *) xdr_void), NULL, tv);
if (res)
{
fprintf (stderr, _("Cannot ypset for domain %s on host %s.\n"),
@@ -184,7 +184,7 @@
res = clnt_call (client, YPBINDPROC_SETDOM,
(xdrproc_t) xdr_ypbind3_setdom, (caddr_t) &ypsd,
- (xdrproc_t) xdr_void, NULL, tv);
+ (xdrproc_t) ((struct __rpc_xdr *) xdr_void), NULL, tv);
if (res)
{
fprintf (stderr, _("Cannot ypset for domain %s on host %s.\n"),
|