diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-14 13:06:35 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-14 13:06:35 (GMT) |
commit | b64f190b7a34224df09b559ca111eb1b733f00ad (patch) | |
tree | 1b3461f4d02a4872bd3c8bd186d5d58f2288e173 /cpu/mpc8xx/video.c | |
parent | f354b73e16a86f9e9085471a830605f74f84ea5d (diff) | |
download | u-boot-fsl-qoriq-b64f190b7a34224df09b559ca111eb1b733f00ad.tar.xz |
Fix printf() format issues with sizeof_t types by using %zu
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'cpu/mpc8xx/video.c')
-rw-r--r-- | cpu/mpc8xx/video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc8xx/video.c b/cpu/mpc8xx/video.c index 8bf8e46..ef91165 100644 --- a/cpu/mpc8xx/video.c +++ b/cpu/mpc8xx/video.c @@ -833,10 +833,10 @@ static void video_encoder_init (void) puts ("[VIDEO ENCODER] Configuring the encoder...\n"); - printf ("Sending %d bytes (@ %08lX) to I2C 0x%X:\n ", + printf ("Sending %zu bytes (@ %08lX) to I2C 0x%lX:\n ", sizeof(video_encoder_data), (ulong)video_encoder_data, - VIDEO_I2C_ADDR); + (ulong)VIDEO_I2C_ADDR); for (i=0; i<sizeof(video_encoder_data); ++i) { printf(" %02X", video_encoder_data[i]); } |