lkml.org 
[lkml]   [2003]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 2.6] comx-hw-munich.c: trivial warning fix
From
Date
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site