Staging: comedi: Corrected type of a printk argument in resize_async_buffer().
authorIan Abbott <abbotti@mev.co.uk>
Mon, 21 Sep 2009 18:55:23 +0000 (14:55 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Oct 2009 20:47:24 +0000 (13:47 -0700)
Signed-off-by: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/comedi_fops.c

index f54bb9b3ee37d7e475c6e603ec0123ade364df04..aaad76e0a76a351f6b26a508982dbbfa9787c7a9 100644 (file)
@@ -2337,7 +2337,7 @@ static int resize_async_buffer(struct 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;
 }