diff options
Diffstat (limited to 'firmware/id3.c')
-rw-r--r-- | firmware/id3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/id3.c b/firmware/id3.c index f594528910..6afe2ac304 100644 --- a/firmware/id3.c +++ b/firmware/id3.c | |||
@@ -1231,7 +1231,7 @@ bool mp3info(struct mp3entry *entry, const char *filename) | |||
1231 | return result; | 1231 | return result; |
1232 | } | 1232 | } |
1233 | 1233 | ||
1234 | void adjust_mp3entry(struct mp3entry *entry, void *dest, void *orig) | 1234 | void adjust_mp3entry(struct mp3entry *entry, void *dest, const void *orig) |
1235 | { | 1235 | { |
1236 | long offset; | 1236 | long offset; |
1237 | if (orig > dest) | 1237 | if (orig > dest) |
@@ -1270,7 +1270,7 @@ void adjust_mp3entry(struct mp3entry *entry, void *dest, void *orig) | |||
1270 | #endif | 1270 | #endif |
1271 | } | 1271 | } |
1272 | 1272 | ||
1273 | void copy_mp3entry(struct mp3entry *dest, struct mp3entry *orig) | 1273 | void copy_mp3entry(struct mp3entry *dest, const struct mp3entry *orig) |
1274 | { | 1274 | { |
1275 | memcpy(dest, orig, sizeof(struct mp3entry)); | 1275 | memcpy(dest, orig, sizeof(struct mp3entry)); |
1276 | adjust_mp3entry(dest, dest, orig); | 1276 | adjust_mp3entry(dest, dest, orig); |