From 04f532cbafb61361711acb8d3f327eabf2068c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 22 Feb 2012 11:26:39 +0000 Subject: fixes to make it compile on MSVC svn path=/trunk/externals/iem/iemmatrix/; revision=16023 --- src/mtx_spherical_harmonics.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mtx_spherical_harmonics.c') diff --git a/src/mtx_spherical_harmonics.c b/src/mtx_spherical_harmonics.c index 8ecc9a4..cec8629 100644 --- a/src/mtx_spherical_harmonics.c +++ b/src/mtx_spherical_harmonics.c @@ -105,7 +105,7 @@ static void mTXShMatrix (MTXSh *x, t_symbol *s, int columns = atom_getint (argv++); int size = rows * columns; int in_size = argc-2; - int n; + unsigned int n; /* size check */ @@ -127,6 +127,7 @@ static void mTXShMatrix (MTXSh *x, t_symbol *s, } if (x->ws!=0) { + int n; sharmonics(x->phi, x->theta, x->ws); in_size=x->l*(x->nmax+1)*(x->nmax+1); SETFLOAT(x->list_sh,(float)x->l); @@ -192,7 +193,7 @@ static void mTXChMatrix (MTXCh *x, t_symbol *s, int columns = atom_getint (argv++); int size = rows * columns; int in_size = argc-2; - int n; + unsigned int n; /* size check */ @@ -213,6 +214,7 @@ static void mTXChMatrix (MTXCh *x, t_symbol *s, } if (x->wc!=0) { + int n; chebyshev12(x->phi, x->wc); in_size=x->l*(2*x->nmax+1); SETFLOAT(x->list_ch,(float)x->l); -- cgit v1.2.1