mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
video: Use 'int' for loop variables instead of short
Using short doesn't save anything and is confusing when the width and height variables are ulong. This may fix Coverity CID134902 but I doubt it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
e517db73a6
commit
2b80b4e246
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ int video_bmp_display(struct udevice *dev, ulong bmp_image, int x, int y,
|
|||
{
|
||||
struct video_priv *priv = dev_get_uclass_priv(dev);
|
||||
ushort *cmap_base = NULL;
|
||||
ushort i, j;
|
||||
int i, j;
|
||||
uchar *fb;
|
||||
struct bmp_image *bmp = map_sysmem(bmp_image, 0);
|
||||
uchar *bmap;
|
||||
|
|
Loading…
Reference in a new issue