From d7031a8893c7319e3dc0454d6674ec754c75a374 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Mon, 11 May 2009 09:37:41 +0000 Subject: [PATCH] Corrected type of a printk argument in resize_async_buffer(). --- comedi/comedi_fops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.26.2