diff options
| author | Nils Wallménius <nils@rockbox.org> | 2010-08-09 15:52:04 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2010-08-09 15:52:04 +0000 |
| commit | b2a5e4e13891b65297ae740bf72d5cf2c84c3607 (patch) | |
| tree | 13a87f07283995e9d14d5a78b246b386b2674fa6 | |
| parent | f20c72a6f12ac67c62484fff65ca4db3e68708e7 (diff) | |
| download | rockbox-b2a5e4e13891b65297ae740bf72d5cf2c84c3607.zip rockbox-b2a5e4e13891b65297ae740bf72d5cf2c84c3607.tar.gz rockbox-b2a5e4e13891b65297ae740bf72d5cf2c84c3607.tar.bz2 rockbox-b2a5e4e13891b65297ae740bf72d5cf2c84c3607.tar.xz | |
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
| -rw-r--r-- | apps/recorder/albumart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/albumart.c b/apps/recorder/albumart.c index 6b43576..7dab0ea 100644 --- a/apps/recorder/albumart.c +++ b/apps/recorder/albumart.c @@ -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. */ |