Mercurial > audlegacy-plugins
diff src/vtx/vtx.c @ 2229:33ffac81f4c7
eliminate warnings.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Sat, 15 Dec 2007 00:03:37 +0900 |
parents | b8da6a0b0da2 |
children | 42a5c9d5830b |
line wrap: on
line diff
--- a/src/vtx/vtx.c Fri Dec 14 23:36:11 2007 +0900 +++ b/src/vtx/vtx.c Sat Dec 15 00:03:37 2007 +0900 @@ -96,7 +96,6 @@ vtx_get_song_tuple_from_vtx(const gchar *filename, ayemu_vtx_t *in) { Tuple *out = aud_tuple_new_from_filename(filename); - gchar *string; aud_tuple_associate_string(out, FIELD_ARTIST, NULL, in->hdr.author); aud_tuple_associate_string(out, FIELD_TITLE, NULL, in->hdr.title); @@ -159,7 +158,7 @@ } else { /* get next AY register frame */ - if (ayemu_vtx_get_next_frame (&vtx, regs) == 0) + if (ayemu_vtx_get_next_frame (&vtx, (char *)regs) == 0) { playback->eof = TRUE; donow = need;