changeset 2322:4bb86ffd9ddf

killed another warning
author Cristi Magherusan <majeru@atheme.org>
date Wed, 16 Jan 2008 01:12:24 +0200
parents 6b427677621f
children a48a1a3e835a
files src/timidity/libtimidity/playmidi.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/timidity/libtimidity/playmidi.c	Wed Jan 16 00:46:56 2008 +0200
+++ b/src/timidity/libtimidity/playmidi.c	Wed Jan 16 01:12:24 2008 +0200
@@ -774,9 +774,9 @@
       song->current_event++;
     }
     if (song->current_event->time > end_sample)
-      compute_data(song, (sint8 **)&ptr, end_sample-song->current_sample);
+      compute_data(song, (sint8 **)(void*)&ptr, end_sample-song->current_sample);
     else
-      compute_data(song, (sint8 **)&ptr, song->current_event->time-song->current_sample);
+      compute_data(song, (sint8 **)(void*)&ptr, song->current_event->time-song->current_sample);
   }
   return samples * song->bytes_per_sample;
 }