# HG changeset patch # User chainsaw # Date 1134944253 28800 # Node ID f61c05314118a5fb4108ef1a3d2ffadfc29e5d37 # Parent cf9b918d817739786f555e132b49b1ac298453db [svn] Squash 2 type-punned pointer warnings. diff -r cf9b918d8177 -r f61c05314118 Plugins/Input/timidity/libtimidity/playmidi.c --- 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; }