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.tar.gz rockbox-b2a5e4e13891b65297ae740bf72d5cf2c84c3607.zip |
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 6b43576698..7dab0ea187 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) | |||
98 | 98 | ||
99 | #ifdef USE_JPEG_COVER | 99 | #ifdef USE_JPEG_COVER |
100 | static const char * extensions[] = { "jpeg", "jpg", "bmp" }; | 100 | static const char * extensions[] = { "jpeg", "jpg", "bmp" }; |
101 | static int extension_lens[] = { 4, 3, 3 }; | 101 | static const unsigned char extension_lens[] = { 4, 3, 3 }; |
102 | /* Try checking for several file extensions, return true if a file is found and | 102 | /* Try checking for several file extensions, return true if a file is found and |
103 | * leaving the path modified to include the matching extension. | 103 | * leaving the path modified to include the matching extension. |
104 | */ | 104 | */ |