mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-22 23:37:43 +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);
|
||||
|
||||
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);
|
||||
gifobj->is_open = 0;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user