9
0
Fork 0

gui: Fix signed/unsigned arguments for printf

"%u" in format string requires a unsigned integer.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Alexander Shiyan 2013-11-08 22:12:58 +04:00 committed by Sascha Hauer
parent 7e6406e59e
commit 960eb40d02
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ struct image *png_open(char *inbuf, int insize)
png_info = PNG_decode(inbuf, insize);
if(PNG_error) {
printf("error %u:\n", PNG_error);
printf("error %i:\n", PNG_error);
ret = -EINVAL;
goto err;
}