diff options
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/test_core_jpeg.c | 4 | ||||
| -rw-r--r-- | apps/plugins/test_mem_jpeg.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/test_core_jpeg.c b/apps/plugins/test_core_jpeg.c index 58b667e..9e7ecfd 100644 --- a/apps/plugins/test_core_jpeg.c +++ b/apps/plugins/test_core_jpeg.c @@ -69,10 +69,10 @@ enum plugin_status plugin_start(const void* parameter) return PLUGIN_ERROR; #ifdef USEGSLIB grey_show(true); - grey_ub_gray_bitmap((fb_data *)bm.data, (LCD_WIDTH - bm.width) >> 1, + grey_ub_gray_bitmap((const unsigned char *)bm.data, (LCD_WIDTH - bm.width) >> 1, (LCD_HEIGHT - bm.height) >> 1, bm.width, bm.height); #else - rb->lcd_bitmap((fb_data *)bm.data, (LCD_WIDTH - bm.width) >> 1, + rb->lcd_bitmap((const fb_data *)bm.data, (LCD_WIDTH - bm.width) >> 1, (LCD_HEIGHT - bm.height) >> 1, bm.width, bm.height); #endif mylcd_ub_update(); diff --git a/apps/plugins/test_mem_jpeg.c b/apps/plugins/test_mem_jpeg.c index d6eda77..6e7d381 100644 --- a/apps/plugins/test_mem_jpeg.c +++ b/apps/plugins/test_mem_jpeg.c @@ -83,7 +83,7 @@ enum plugin_status plugin_start(const void* parameter) return PLUGIN_ERROR; #ifdef USEGSLIB grey_show(true); - grey_ub_gray_bitmap((fb_data *)bm.data, (LCD_WIDTH - bm.width) >> 1, + grey_ub_gray_bitmap((const unsigned char *)bm.data, (LCD_WIDTH - bm.width) >> 1, (LCD_HEIGHT - bm.height) >> 1, bm.width, bm.height); #else rb->lcd_bitmap((fb_data *)bm.data, (LCD_WIDTH - bm.width) >> 1, |