changeset 327:eec397c937e6 trunk

[svn] still gives off a warning, but will do the right thing regardless.
author nenolod
date Tue, 20 Dec 2005 13:33:42 -0800
parents 429b73ffcb18
children 9466f03c92f8
files Plugins/Input/timidity/libtimidity/playmidi.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/timidity/libtimidity/playmidi.c	Mon Dec 19 16:39:12 2005 -0800
+++ b/Plugins/Input/timidity/libtimidity/playmidi.c	Tue Dec 20 13:33:42 2005 -0800
@@ -777,9 +777,9 @@
       song->current_event++;
     }
     if (song->current_event->time > end_sample)
-      compute_data(song, (sint8 **)ptr, end_sample-song->current_sample);
+      compute_data(song, &ptr, end_sample-song->current_sample);
     else
-      compute_data(song, (sint8 **)ptr, song->current_event->time-song->current_sample);
+      compute_data(song, &ptr, song->current_event->time-song->current_sample);
   }
   return samples * song->bytes_per_sample;
 }