patch-2.4.11-dontuse linux/net/sunrpc/xdr.c

Next file: linux/net/sunrpc/xprt.c
Previous file: linux/net/sunrpc/sched.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.10/linux/net/sunrpc/xdr.c linux/net/sunrpc/xdr.c
@@ -95,7 +95,7 @@
 	if ((len = ntohl(*p++)) > maxlen)
 		return NULL;
 	*lenp = len;
-	*sp = p;
+	*sp = (char *) p;
 	return p + XDR_QUADLEN(len);
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)