patch-2.4.20 linux-2.4.20/drivers/net/wan/sdla.c

Next file: linux-2.4.20/drivers/net/wan/sdla_chdlc.c
Previous file: linux-2.4.20/drivers/net/wan/sbni.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/net/wan/sdla.c linux-2.4.20/drivers/net/wan/sdla.c
@@ -695,7 +695,7 @@
 					save_flags(flags); 
 					cli();
 					SDLA_WINDOW(dev, addr);
-					pbuf = (void *)(((int) dev->mem_start) + (addr & SDLA_ADDR_MASK));
+					pbuf = (void *)(((unsigned long) dev->mem_start) + (addr & SDLA_ADDR_MASK));
 						sdla_write(dev, pbuf->buf_addr, skb->data, skb->len);
 						SDLA_WINDOW(dev, addr);
 					pbuf->opp_flag = 1;

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