# HG changeset patch # User chainsaw # Date 1136765017 28800 # Node ID bbbbfd16996cb32e55d3273b6d15493f4439accf # Parent ee3bf186998ec3a9de21aea662cd3927852682fb [svn] Care about pointer signedness. diff -r ee3bf186998e -r bbbbfd16996c Plugins/Input/flac/plugin_common/tags.c --- a/Plugins/Input/flac/plugin_common/tags.c Sun Jan 08 15:14:58 2006 -0800 +++ b/Plugins/Input/flac/plugin_common/tags.c Sun Jan 08 16:03:37 2006 -0800 @@ -73,7 +73,7 @@ { const char *s, *end; for (s=src, end=src+length; sdata.vorbis_comment.comments[i].entry, '=')+1); + return (i < 0? 0 : strchr((const char*)tags->data.vorbis_comment.comments[i].entry, '=')+1); } FLAC__uint16 *FLAC_plugin__tags_get_tag_ucs2(const FLAC__StreamMetadata *tags, const char *name)