All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6] comx-hw-munich.c: trivial warning fix
@ 2003-10-01 16:03 Vinay K Nallamothu
  0 siblings, 0 replies; only message in thread
From: Vinay K Nallamothu @ 2003-10-01 16:03 UTC (permalink / raw)
  To: Andrew Morton; +Cc: LKML

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);



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-01 16:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-01 16:03 [PATCH 2.6] comx-hw-munich.c: trivial warning fix Vinay K Nallamothu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.