summaryrefslogtreecommitdiff
path: root/apps/recorder
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 /apps/recorder
parentf20c72a6f12ac67c62484fff65ca4db3e68708e7 (diff)
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
Diffstat (limited to 'apps/recorder')
-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)
#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.
*/