From: Ian Abbott Date: Mon, 11 May 2009 09:37:41 +0000 (+0000) Subject: Corrected type of a printk argument in resize_async_buffer(). X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d7031a8893c7319e3dc0454d6674ec754c75a374;p=comedi.git Corrected type of a printk argument in resize_async_buffer(). --- diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index d2f5ac1c..bc0549a4 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -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; }