cue_tag: pass "const" string to cue_tag_string()

This commit is contained in:
Max Kellermann 2009-12-16 17:24:47 +01:00
parent 41a48b14e3
commit 59534b92d2
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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