about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-02-28 04:54:49 +0000
committerRoland McGrath <roland@gnu.org>2003-02-28 04:54:49 +0000
commit63c9fb5c4bd43db7a5cc29f65b5c669562871299 (patch)
treec521cdfd32af32be850c0f9e4af650e5f44fd0fd
parent206a5cdea24117af6052289af84fafe8f50e929f (diff)
downloadglibc-63c9fb5c4bd43db7a5cc29f65b5c669562871299.tar.gz
glibc-63c9fb5c4bd43db7a5cc29f65b5c669562871299.tar.xz
glibc-63c9fb5c4bd43db7a5cc29f65b5c669562871299.zip
2003-02-27 Roland McGrath <roland@redhat.com>
	* sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change.
-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;
 	    }
 	}