Fix c99-ism

Original commit message from CVS:
Fix c99-ism
This commit is contained in:
David Schleef 2003-11-30 20:46:41 +00:00
parent 2808017a3e
commit 5a23c64e9b

View file

@ -491,10 +491,13 @@ gst_tag_list_to_vorbiscomment_buffer (const GstTagList *list, const guint8 *id_d
*((guint32 *) data) = GUINT32_TO_LE (my_data.count);
data += 4;
for (i = 0; i < my_data.count; i++) {
guint size;
gchar *cur;
g_assert (l != NULL);
gchar *cur = l->data;
cur = l->data;
l = g_list_next (l);
guint size = strlen (cur);
size = strlen (cur);
*((guint32 *) data) = GUINT32_TO_LE (size);
data += 4;
memcpy (data, cur, size);