[PATCH 2.6] comx-hw-munich.c: trivial warning fix

From: Vinay K Nallamothu
Date: Wed Oct 01 2003 - 11:05:40 EST


Fix a pointer cast warning on 64 bit platforms

--- linux-2.6.0-test6/drivers/net/wan/comx-hw-munich.c 2003-10-01 14:03:16.000000000 +0530
+++ linux-2.6.0-test6-nvk/drivers/net/wan/comx-hw-munich.c 2003-10-01 21:29:47.000000000 +0530
@@ -1849,7 +1849,7 @@
if (board->isx21)
{
init_timer(&board->modemline_timer);
- board->modemline_timer.data = (unsigned int)board;
+ board->modemline_timer.data = (unsigned long)board;
board->modemline_timer.function = pcicom_modemline;
board->modemline_timer.expires = jiffies + HZ;
add_timer((struct timer_list *)&board->modemline_timer);


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/