Fix windows build
authorJelmer Vernooij <jelmer@samba.org>
Thu, 26 May 2005 20:26:47 +0000 (21:26 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 26 May 2005 20:26:47 +0000 (21:26 +0100)
gp.c

diff --git a/gp.c b/gp.c
index 2acc667baf164d24cf4f9abcd118550aab67f37f..d4b3d0bfd00e67fe92e585d69a0cd589a572d612 100644 (file)
--- a/gp.c
+++ b/gp.c
@@ -441,7 +441,7 @@ static void gp_read_beat(struct gpf *gpf, struct gp_beat *beat)
                        }
 
                        if (n->effect.properties1 & GP_NOTE_EFFECT1_BEND) {
-                               int k;
+                               unsigned int k;
                                gp_read_unknown(gpf, 5);
                                gp_read_uint32(gpf, &n->effect.bend.num_points);
                                n->effect.bend.points = malloc_p(struct gp_note_effect_bend_point, n->effect.bend.num_points);