fix warrnings in test_core_jpeg.c and test_mem_jpeg.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27758 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a86b08e4fa
commit
e7951b1bab
2 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue