From a80168a15b7514d58c7af2dc6d7a2b44a4791108 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 30 Jul 2006 08:56:55 +0000 Subject: gcc signedness and sparse fixes git-svn-id: https://svn.musicpd.org/mpd/trunk@4489 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/tag.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tag.c') 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); } -- cgit v1.2.3