summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-02-27 21:09:36 +0000
committerThomas Martitz <kugel@rockbox.org>2011-02-27 21:09:36 +0000
commitcab6ac22403731a796c8d6aa88a5adb9598e6214 (patch)
tree755973da5ce8cc56f1a42fc4bdaeff999077df9b
parent41658bd07a1bc7b48ef12b356f67f11225593ddd (diff)
downloadrockbox-cab6ac22403731a796c8d6aa88a5adb9598e6214.tar.gz
rockbox-cab6ac22403731a796c8d6aa88a5adb9598e6214.zip
Fix warning in android build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29440 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/recorder/albumart.c2
-rw-r--r--apps/recorder/albumart.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/recorder/albumart.c b/apps/recorder/albumart.c
index 7dab0ea187..5acb492412 100644
--- a/apps/recorder/albumart.c
+++ b/apps/recorder/albumart.c
@@ -275,7 +275,7 @@ bool search_albumart_files(const struct mp3entry *id3, const char *size_string,
* Stores the found filename in the buf parameter.
* Returns true if a bitmap was found, false otherwise */
bool find_albumart(const struct mp3entry *id3, char *buf, int buflen,
- struct dim *dim)
+ const struct dim *dim)
{
if (!id3 || !buf)
return false;
diff --git a/apps/recorder/albumart.h b/apps/recorder/albumart.h
index 0f50979a1a..80cacaf5f0 100644
--- a/apps/recorder/albumart.h
+++ b/apps/recorder/albumart.h
@@ -33,7 +33,7 @@
* Stores the found filename in the buf parameter.
* Returns true if a bitmap was found, false otherwise */
bool find_albumart(const struct mp3entry *id3, char *buf, int buflen,
- struct dim *dim);
+ const struct dim *dim);
#ifndef PLUGIN
/* Draw the album art bitmap from the given handle ID onto the given Skin.