aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-07-30 08:56:55 +0000
committerEric Wong <normalperson@yhbt.net>2006-07-30 08:56:55 +0000
commita80168a15b7514d58c7af2dc6d7a2b44a4791108 (patch)
treeb3b13d47cbfbef3cd6202de401839fc800f60e3e /src/tag.c
parente86fd65c81be319c8f4848d42053084ceab9afc8 (diff)
downloadmpd-a80168a15b7514d58c7af2dc6d7a2b44a4791108.tar.gz
mpd-a80168a15b7514d58c7af2dc6d7a2b44a4791108.tar.xz
mpd-a80168a15b7514d58c7af2dc6d7a2b44a4791108.zip
gcc signedness and sparse fixes
git-svn-id: https://svn.musicpd.org/mpd/trunk@4489 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tag.c b/src/tag.c
index e2ade9fcf..ae0c3c87c 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -169,17 +169,17 @@ MpdTag *getID3Info(struct id3_tag *tag, char *id, int type, MpdTag * mpdTag)
encoding = getConfigParamValue(CONF_ID3V1_ENCODING);
if (encoding) {
setCharSetConversion("ISO-8859-1", "UTF-8");
- isostr = convStrDup(utf8);
+ isostr = convStrDup((char *)utf8);
free(utf8);
setCharSetConversion("UTF-8", encoding);
- utf8 = convStrDup(isostr);
+ utf8 = (id3_utf8_t *)convStrDup(isostr);
free(isostr);
}
}
if (mpdTag == NULL)
mpdTag = newMpdTag();
- addItemToMpdTag(mpdTag, type, utf8);
+ addItemToMpdTag(mpdTag, type, (char *)utf8);
free(utf8);
}