summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/skin_engine/skin_tokens.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c
index e6dfc95f12..5228dd16bc 100644
--- a/apps/gui/skin_engine/skin_tokens.c
+++ b/apps/gui/skin_engine/skin_tokens.c
@@ -64,10 +64,10 @@
64 64
65extern struct wps_state wps_state; 65extern struct wps_state wps_state;
66 66
67static char* get_codectype(const struct mp3entry* id3) 67static const char* get_codectype(const struct mp3entry* id3)
68{ 68{
69 if (id3 && id3->codectype < AFMT_NUM_CODECS) { 69 if (id3 && id3->codectype < AFMT_NUM_CODECS) {
70 return (char*)audio_formats[id3->codectype].label; 70 return audio_formats[id3->codectype].label;
71 } else { 71 } else {
72 return NULL; 72 return NULL;
73 } 73 }