winemp3.acm: Remove superfluous pointer casts.

Michael Stefaniuc mstefani at redhat.de
Fri Feb 27 03:52:30 CST 2009


---
 dlls/winemp3.acm/layer1.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/winemp3.acm/layer1.c b/dlls/winemp3.acm/layer1.c
index 16bc55c..392176a 100644
--- a/dlls/winemp3.acm/layer1.c
+++ b/dlls/winemp3.acm/layer1.c
@@ -146,12 +146,12 @@ int do_layer1(struct frame *fr,unsigned char *pcm_sample,int *pcm_point)
     I_step_two(fraction,balloc,scale_index,fr);
 
       if(single >= 0) {
-        clip += synth_1to1_mono(fr->mp,(real*)fraction[single],pcm_sample,pcm_point);
+        clip += synth_1to1_mono(fr->mp,fraction[single],pcm_sample,pcm_point);
       }
       else {
         int p1 = *pcm_point;
-        clip += synth_1to1(fr->mp,(real*)fraction[0],0,pcm_sample,&p1);
-        clip += synth_1to1(fr->mp,(real*)fraction[1],1,pcm_sample,pcm_point);
+        clip += synth_1to1(fr->mp,fraction[0],0,pcm_sample,&p1);
+        clip += synth_1to1(fr->mp,fraction[1],1,pcm_sample,pcm_point);
       }
   }
 
-- 
1.6.0.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090227/71412e18/attachment.pgp 


More information about the wine-patches mailing list