summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2010-08-09 15:52:04 +0000
committerNils Wallménius <nils@rockbox.org>2010-08-09 15:52:04 +0000
commitb2a5e4e13891b65297ae740bf72d5cf2c84c3607 (patch)
tree13a87f07283995e9d14d5a78b246b386b2674fa6
parentf20c72a6f12ac67c62484fff65ca4db3e68708e7 (diff)
downloadrockbox-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.c2
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
100static const char * extensions[] = { "jpeg", "jpg", "bmp" }; 100static const char * extensions[] = { "jpeg", "jpg", "bmp" };
101static int extension_lens[] = { 4, 3, 3 }; 101static 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 */