From 4902bb3bd0bba7839921baa099abe311f2e9391d Mon Sep 17 00:00:00 2001 From: musil Date: Fri, 10 Nov 2006 14:31:45 +0000 Subject: makefile fno-strict-aliasing bug float to t_float svn path=/trunk/externals/iem/iem_ambi/; revision=6256 --- src/ambi_decode.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'src/ambi_decode.c') diff --git a/src/ambi_decode.c b/src/ambi_decode.c index 466244f..1481be3 100644 --- a/src/ambi_decode.c +++ b/src/ambi_decode.c @@ -3,19 +3,9 @@ iem_ambi written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */ -#ifdef NT -#pragma warning( disable : 4244 ) -#pragma warning( disable : 4305 ) -#endif - - #include "m_pd.h" #include "iemlib.h" #include -#include -#include - - /* -------------------------- ambi_decode ------------------------------ */ /* @@ -325,7 +315,7 @@ static void ambi_decode_pinv(t_ambi_decode *x) at += 2; for(i=0; ix_at = (t_atom *)getbytes((x->x_n_ls * x->x_n_ambi + 2) * sizeof(t_atom)); x->x_s_matrix = gensym("matrix"); /*change*/ - SETFLOAT(x->x_at, (float)x->x_n_ls); - SETFLOAT(x->x_at+1, (float)x->x_n_ambi); + SETFLOAT(x->x_at, (t_float)x->x_n_ls); + SETFLOAT(x->x_at+1, (t_float)x->x_n_ambi); x->x_sqrt3 = sqrt(3.0); x->x_sqrt5_2 = sqrt(5.0) / 2.0; x->x_sqrt6_4 = sqrt(6.0) / 4.0; -- cgit v1.2.1