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:
parent
7e6406e59e
commit
960eb40d02
|
@ -57,7 +57,7 @@ struct image *png_open(char *inbuf, int insize)
|
||||||
png_info = PNG_decode(inbuf, insize);
|
png_info = PNG_decode(inbuf, insize);
|
||||||
|
|
||||||
if(PNG_error) {
|
if(PNG_error) {
|
||||||
printf("error %u:\n", PNG_error);
|
printf("error %i:\n", PNG_error);
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue