2003-02-27 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Fri, 28 Feb 2003 04:54:49 +0000 (04:54 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 28 Feb 2003 04:54:49 +0000 (04:54 +0000)
* sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change.

sunrpc/svc_udp.c

index cb1d705..45f9944 100644 (file)
@@ -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;
            }
        }