]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: Use 'int' for loop variables instead of short
authorSimon Glass <sjg@chromium.org>
Sat, 30 Jan 2016 22:45:16 +0000 (15:45 -0700)
committerAnatolij Gustschin <agust@denx.de>
Sat, 6 Feb 2016 12:55:49 +0000 (13:55 +0100)
commit2b80b4e246e4f20aec84c15e4da229d07a4c6fad
treea8190eb9ec61f824de643b02b10dfc2b6ad5d0e0
parente517db73a61376b940a9b352eb717f703f6b25df
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>
drivers/video/video_bmp.c