From 59534b92d22b2bd42c3c222e00c2e5563402aeb0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 16 Dec 2009 17:24:47 +0100 Subject: cue_tag: pass "const" string to cue_tag_string() --- src/cue/cue_tag.c | 2 +- src/cue/cue_tag.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cue') diff --git a/src/cue/cue_tag.c b/src/cue/cue_tag.c index 9d338598..15cf0015 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 0168b753..e5dc24fb 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 -- cgit v1.2.3