64-bit cleanups
authorDavid Schleef <ds@schleef.org>
Fri, 14 Dec 2001 21:44:28 +0000 (21:44 +0000)
committerDavid Schleef <ds@schleef.org>
Fri, 14 Dec 2001 21:44:28 +0000 (21:44 +0000)
comedi/drivers/8255.c

index 0a803b8783b915fd5754a95b586750c442d53571..7e8f30b4e315c3858c63a6bc6eb15ef206d3a6ef 100644 (file)
@@ -102,7 +102,7 @@ static void do_config(comedi_device *dev,comedi_subdevice *s);
 
 static int subdev_8255_cb(int dir,int port,int data,void *arg)
 {
-       int iobase=(int)arg;
+       int iobase=(unsigned long)arg;
 
        if(dir){
                outb(data,iobase+port);