From 407cab0d9100c1b8e4cf28a56bcb82843cddbc87 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 26 Oct 2007 17:59:36 +0000 Subject: [PATCH] Fixed compile warning on amd64. --- comedi/drivers/ii_pci20kc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.26.2