diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-07-30 08:56:55 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-07-30 08:56:55 +0000 |
commit | a80168a15b7514d58c7af2dc6d7a2b44a4791108 (patch) | |
tree | b3b13d47cbfbef3cd6202de401839fc800f60e3e /src/tag.c | |
parent | e86fd65c81be319c8f4848d42053084ceab9afc8 (diff) | |
download | mpd-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } |