mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-03 22:13:33 +08:00
fix(gif): compatibility issue when logging uint32_t variables (#9349)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -404,7 +404,7 @@ static void initialize(lv_gif_t * gifobj)
|
|||||||
gifobj->draw_buf = lv_draw_buf_create(width, height, gifobj->color_format, LV_STRIDE_AUTO);
|
gifobj->draw_buf = lv_draw_buf_create(width, height, gifobj->color_format, LV_STRIDE_AUTO);
|
||||||
|
|
||||||
if(gifobj->draw_buf == NULL) {
|
if(gifobj->draw_buf == NULL) {
|
||||||
LV_LOG_WARN("Couldn't allocate memory for the gif with width: %d and height: %d", width, height);
|
LV_LOG_WARN("Couldn't allocate memory for the gif with width: %"LV_PRIu32" and height: %"LV_PRIu32"", width, height);
|
||||||
GIF_close(gif);
|
GIF_close(gif);
|
||||||
gifobj->is_open = 0;
|
gifobj->is_open = 0;
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user