]> git.sur5r.net Git - u-boot/blobdiff - common/lcd.c
Fix printf() format issues with sizeof_t types by using %zu
[u-boot] / common / lcd.c
index ebf377aa89d4e3202917268728629925ab44f051..04ef4e387711f17d15788052e99da9c8203a7de5 100644 (file)
@@ -539,7 +539,7 @@ void bitmap_plot (int x, int y)
 
        debug ("Logo: width %d  height %d  colors %d  cmap %d\n",
                BMP_LOGO_WIDTH, BMP_LOGO_HEIGHT, BMP_LOGO_COLORS,
-               sizeof(bmp_logo_palette)/(sizeof(ushort)));
+               (int)(sizeof(bmp_logo_palette)/(sizeof(ushort))));
 
        bmap = &bmp_logo_bitmap[0];
        fb   = (uchar *)(lcd_base + y * lcd_line_length + x);