diff options
| author | Marcin Bukat <marcin.bukat@gmail.com> | 2010-08-08 20:07:21 +0000 |
|---|---|---|
| committer | Marcin Bukat <marcin.bukat@gmail.com> | 2010-08-08 20:07:21 +0000 |
| commit | e7951b1bab9b477ea33c348bce4f61a78ff52ee9 (patch) | |
| tree | b973bd12e58d6d24ba0065734fa8828ad4aaee22 /apps/plugins/test_mem_jpeg.c | |
| parent | a86b08e4fa1e4de5e7f33d5d92ba698c335b3dc7 (diff) | |
| download | rockbox-e7951b1bab9b477ea33c348bce4f61a78ff52ee9.zip rockbox-e7951b1bab9b477ea33c348bce4f61a78ff52ee9.tar.gz rockbox-e7951b1bab9b477ea33c348bce4f61a78ff52ee9.tar.bz2 rockbox-e7951b1bab9b477ea33c348bce4f61a78ff52ee9.tar.xz | |
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
Diffstat (limited to 'apps/plugins/test_mem_jpeg.c')
| -rw-r--r-- | apps/plugins/test_mem_jpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |