1
0
Fork 0
forked from len0rd/rockbox

Mark constant array as 'const' and use a smaller datatype.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27762 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2010-08-09 15:52:04 +00:00
parent f20c72a6f1
commit b2a5e4e138

View file

@ -98,7 +98,7 @@ static void fix_path_part(char* path, int offset, int count)
#ifdef USE_JPEG_COVER
static const char * extensions[] = { "jpeg", "jpg", "bmp" };
static int extension_lens[] = { 4, 3, 3 };
static const unsigned char extension_lens[] = { 4, 3, 3 };
/* Try checking for several file extensions, return true if a file is found and
* leaving the path modified to include the matching extension.
*/