Cast isostr to char * to fix yet another warning
git-svn-id: https://svn.musicpd.org/mpd/trunk@4655 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
7c3a5596fd
commit
a6297f81f3
@ -165,7 +165,7 @@ static MpdTag *getID3Info(struct id3_tag *tag, char *id, int type, MpdTag * mpdT
|
|||||||
if (mpd_unlikely(!isostr))
|
if (mpd_unlikely(!isostr))
|
||||||
continue;
|
continue;
|
||||||
setCharSetConversion("UTF-8", encoding);
|
setCharSetConversion("UTF-8", encoding);
|
||||||
utf8 = (id3_utf8_t *)convStrDup(isostr);
|
utf8 = (id3_utf8_t *)convStrDup((char *)isostr);
|
||||||
if (!utf8) {
|
if (!utf8) {
|
||||||
DEBUG("Unable to convert %s string to UTF-8: "
|
DEBUG("Unable to convert %s string to UTF-8: "
|
||||||
"'%s'\n", encoding, isostr);
|
"'%s'\n", encoding, isostr);
|
||||||
|
Loading…
Reference in New Issue
Block a user