about summary refs log tree commit diff
path: root/sunrpc/svc_udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc/svc_udp.c')
-rw-r--r--sunrpc/svc_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/svc_udp.c b/sunrpc/svc_udp.c
index cb1d70558e..45f99440b2 100644
--- a/sunrpc/svc_udp.c
+++ b/sunrpc/svc_udp.c
@@ -277,7 +277,7 @@ again:
 	    {
 	      /* It was a simple IP_PKTIFO as we expected, discard the
 		 interface field.  */
-	      struct in_pktinfo *pkti = CMSG_DATA (cmsg);
+	      struct in_pktinfo *pkti = (struct in_pktinfo *) CMSG_DATA (cmsg);
 	      pkti->ipi_ifindex = 0;
 	    }
 	}