From: Frank Mori Hess Date: Fri, 26 Oct 2007 17:59:36 +0000 (+0000) Subject: Fixed compile warning on amd64. X-Git-Tag: r0_7_75~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=407cab0d9100c1b8e4cf28a56bcb82843cddbc87;p=comedi.git Fixed compile warning on amd64. --- diff --git a/comedi/drivers/ii_pci20kc.c b/comedi/drivers/ii_pci20kc.c index 065969e6..374e3dce 100644 --- a/comedi/drivers/ii_pci20kc.c +++ b/comedi/drivers/ii_pci20kc.c @@ -215,7 +215,7 @@ static int pci20xxx_attach(comedi_device * dev, comedi_devconfig * it) if ((ret = alloc_private(dev, sizeof(pci20xxx_private))) < 0) return ret; - devpriv->ioaddr = (void*) it->options[0]; + devpriv->ioaddr = (void*) (unsigned long) it->options[0]; dev->board_name = "pci20kc"; /* Check PCI-20001 C-2A Carrier Board ID */