changeset 323:f61c05314118 trunk

[svn] Squash 2 type-punned pointer warnings.
author chainsaw
date Sun, 18 Dec 2005 14:17:33 -0800
parents cf9b918d8177
children fbafca56b6a8
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	Sun Dec 18 13:48:43 2005 -0800
+++ b/Plugins/Input/timidity/libtimidity/playmidi.c	Sun Dec 18 14:17:33 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, (sint8 **)ptr, end_sample-song->current_sample);
     else
-      compute_data(song, (sint8 **)&ptr, song->current_event->time-song->current_sample);
+      compute_data(song, (sint8 **)ptr, song->current_event->time-song->current_sample);
   }
   return samples * song->bytes_per_sample;
 }