summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2008-10-15 13:50:32 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-15 21:19:51 +0400
commit6d54aaf389bb47f30fd6567b88665689967be642 (patch)
tree796ef2604fa9b9f71ae4b59dced97b1d6686c43a
parent6c5e51dae2c37127e00be392f40842e08077e96a (diff)
downloadlinux-6d54aaf389bb47f30fd6567b88665689967be642.tar.xz
metronomefb: Fix warning when building 64bit
The metronome driver produces warnings when built on x86-64 as it assumes that size_t is an int. Use %Zd instead. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/video/metronomefb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/metronomefb.c b/drivers/video/metronomefb.c
index afeed0611e3e..df1f757a6161 100644
--- a/drivers/video/metronomefb.c
+++ b/drivers/video/metronomefb.c
@@ -188,7 +188,7 @@ static int __devinit load_waveform(u8 *mem, size_t size, int m, int t,
epd_frame_table[par->dt].wfm_size = user_wfm_size;
if (size != epd_frame_table[par->dt].wfm_size) {
- dev_err(dev, "Error: unexpected size %d != %d\n", size,
+ dev_err(dev, "Error: unexpected size %Zd != %d\n", size,
epd_frame_table[par->dt].wfm_size);
return -EINVAL;
}