diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2008-10-15 10:50:32 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-15 10:19:51 -0700 |
commit | 6d54aaf389bb47f30fd6567b88665689967be642 (patch) | |
tree | 796ef2604fa9b9f71ae4b59dced97b1d6686c43a /drivers | |
parent | 6c5e51dae2c37127e00be392f40842e08077e96a (diff) | |
download | linux-6d54aaf389bb47f30fd6567b88665689967be642.tar.bz2 |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/metronomefb.c | 2 |
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; } |