]> err.no Git - linux-2.6/commit
V4L/DVB (6894): xc5000: fix build warning
authorMichael Krufky <mkrufky@linuxtv.org>
Fri, 21 Dec 2007 19:20:23 +0000 (16:20 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:04:14 +0000 (19:04 -0200)
commit3f51451b516eeb19d3c1ea311ee8845fc80b5135
tree2839084209248ceb6f238e2c91cc077f39ad53a9
parent7972f9880c8c812332a56da7cfa4523d01ea310b
V4L/DVB (6894): xc5000: fix build warning

Fix the following build warning:

xc5000.c:560: warning: format '%d' expects type 'int',
      but argument 2 has type 'size_t'

On many architectrues size_t is unsigned long, and may not be printed with %d.
Use %Zu instead.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/xc5000.c