test: fix warning in test_screenshot_error.h

This commit is contained in:
Gabor Kiss-Vamosi
2022-09-19 11:19:10 +02:00
parent f1d69ca044
commit d3d11361d9

View File

@@ -137,7 +137,7 @@ bool lv_test_assert_img_eq(const char * fn_ref)
" .header.always_zero = 0,\n"
" .header.cf = LV_IMG_CF_TRUE_COLOR,\n"
" .data_size = 800 * 480 * 4,\n"
" .data = test_screenshot_error_data};\n\n"
" .data = (const uint8_t *) test_screenshot_error_data};\n\n"
"static inline void test_screenshot_error_show(void)\n"
"{\n"
" lv_obj_t * img = lv_img_create(lv_scr_act());\n"