patch-2.0.26 linux/net/ax25/af_ax25.c

Next file: linux/net/ipv4/icmp.c
Previous file: linux/net/appletalk/ddp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.25/linux/net/ax25/af_ax25.c linux/net/ax25/af_ax25.c
@@ -1034,7 +1034,7 @@
 	if ((err = verify_area(VERIFY_WRITE, optval, sizeof(int))) != 0)
 		return err;
 
-	put_user(val, optval);
+	put_user(val, (int *)optval);
 
 	return 0;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov