diff options
Diffstat (limited to 'src/inputPlugins')
-rw-r--r-- | src/inputPlugins/oggvorbis_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inputPlugins/oggvorbis_plugin.c b/src/inputPlugins/oggvorbis_plugin.c index 63bac411e..5bd65073a 100644 --- a/src/inputPlugins/oggvorbis_plugin.c +++ b/src/inputPlugins/oggvorbis_plugin.c @@ -179,8 +179,8 @@ static MpdTag * oggCommentsParse(char ** comments) { MpdTag * tag = NULL; while(*comments) { - unsigned int j; - for (j = TAG_NUM_OF_ITEM_TYPES; j--; ) { + int j; + for (j = TAG_NUM_OF_ITEM_TYPES - 1; --j >= 0; ) { if (ogg_parseCommentAddToTag(*comments, j, &tag)) break; } |