Mercurial > audlegacy
diff Plugins/Input/mpg123/id3_frame.c @ 701:d539e5c5f730 trunk
[svn] Fixes of the remaining GCC 4.1 warnings from external contributor Diego "Flameeyes" Petteno (Gentoo).
author | chainsaw |
---|---|
date | Sun, 26 Feb 2006 13:08:35 -0800 |
parents | fa848bd484d8 |
children | fc16e70c7a1b |
line wrap: on
line diff
--- a/Plugins/Input/mpg123/id3_frame.c Sun Feb 26 10:21:49 2006 -0800 +++ b/Plugins/Input/mpg123/id3_frame.c Sun Feb 26 13:08:35 2006 -0800 @@ -253,7 +253,7 @@ static struct id3_framedesc * find_frame_description(guint32 id) { - int i; + size_t i; for (i = 0; i < sizeof(framedesc) / sizeof(struct id3_framedesc); i++) if (framedesc[i].fd_id == id) return &framedesc[i]; @@ -567,7 +567,7 @@ id3_add_frame(struct id3_tag *id3, guint32 type) { struct id3_frame *frame; - int i; + size_t i; /* * Allocate frame. @@ -683,7 +683,7 @@ static guint32 find_v24_id(guint32 v22) { - int i; + size_t i; for (i = 0; i < sizeof(framedesc22) / sizeof(framedesc22[0]); i++) if (framedesc22[i].fd_v22 == v22) return framedesc22[i].fd_v24;