aboutsummaryrefslogtreecommitdiffstats
path: root/src/cue
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-12-16 17:24:47 +0100
committerMax Kellermann <max@duempel.org>2009-12-16 17:26:20 +0100
commit59534b92d22b2bd42c3c222e00c2e5563402aeb0 (patch)
tree893c20c060a55606b3568bc82609a62257c073f4 /src/cue
parent41a48b14e3cbe3935f8233341cdf3e327429da84 (diff)
downloadmpd-59534b92d22b2bd42c3c222e00c2e5563402aeb0.tar.gz
mpd-59534b92d22b2bd42c3c222e00c2e5563402aeb0.tar.xz
mpd-59534b92d22b2bd42c3c222e00c2e5563402aeb0.zip
cue_tag: pass "const" string to cue_tag_string()
Diffstat (limited to 'src/cue')
-rw-r--r--src/cue/cue_tag.c2
-rw-r--r--src/cue/cue_tag.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cue/cue_tag.c b/src/cue/cue_tag.c
index 9d3385981..15cf00155 100644
--- a/src/cue/cue_tag.c
+++ b/src/cue/cue_tag.c
@@ -193,7 +193,7 @@ cue_tag_file(FILE *fp, unsigned tnum)
}
struct tag *
-cue_tag_string(char *str, unsigned tnum)
+cue_tag_string(const char *str, unsigned tnum)
{
struct Cd *cd;
struct tag *cd_tag, *track_tag;
diff --git a/src/cue/cue_tag.h b/src/cue/cue_tag.h
index 0168b7537..e5dc24fb9 100644
--- a/src/cue/cue_tag.h
+++ b/src/cue/cue_tag.h
@@ -13,7 +13,7 @@ struct tag *
cue_tag_file(FILE *file, unsigned tnum);
struct tag *
-cue_tag_string(char *str, unsigned tnum);
+cue_tag_string(const char *str, unsigned tnum);
#endif /* libcue */
#endif