Corrected type of a printk argument in resize_async_buffer().
authorIan Abbott <abbotti@mev.co.uk>
Mon, 11 May 2009 09:37:41 +0000 (09:37 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Mon, 11 May 2009 09:37:41 +0000 (09:37 +0000)
comedi/comedi_fops.c

index d2f5ac1c26379a09c60c6c46020d298fa62b8241..bc0549a42d7884f677ee277759ca1601aa1d1ce1 100644 (file)
@@ -2340,7 +2340,7 @@ static int resize_async_buffer(comedi_device *dev,
        }
 
        DPRINTK("comedi%i subd %d buffer resized to %i bytes\n",
-               dev->minor, s - dev->subdevices, async->prealloc_bufsz);
+               dev->minor, (int)(s - dev->subdevices), async->prealloc_bufsz);
        return 0;
 }