diff --git a/ChangeLog b/ChangeLog index 36c9c457..a7bb633e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -36,6 +36,10 @@ John Emmas Jackdmp changes log --------------------------- +2012-01-01 Stephane Letz + + * Fix in midiseq.c. + 2011-12-20 Stephane Letz * Version 1.9.9 started. diff --git a/example-clients/midiseq.c b/example-clients/midiseq.c index 60b3e483..bc0591b0 100644 --- a/example-clients/midiseq.c +++ b/example-clients/midiseq.c @@ -102,7 +102,7 @@ int main(int narg, char **args) loop_index = 0; num_notes = (narg - 3)/3; note_frqs = malloc(num_notes*sizeof(unsigned char)); - note_starts = malloc(num_notes*sizeof(unsigned char)); + note_starts = malloc(num_notes*sizeof(jack_nframes_t)); note_lengths = malloc(num_notes*sizeof(jack_nframes_t)); loop_nsamp = atoi(args[2]); for(i=0; i