patch-2.3.99-pre6 linux/drivers/atm/uPD98402.c

Next file: linux/drivers/block/Config.in
Previous file: linux/drivers/atm/horizon.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/atm/uPD98402.c linux/drivers/atm/uPD98402.c
@@ -141,7 +141,7 @@
 			return fetch_stats(dev,(struct sonet_stats *) arg,
 			    cmd == SONET_GETSTATZ);
 		case SONET_SETFRAMING:
-			return set_framing(dev,(int) arg);
+			return set_framing(dev,(int) (long) arg);
 		case SONET_GETFRAMING:
 			return put_user(PRIV(dev)->framing,(int *) arg) ?
 			    -EFAULT : 0;

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