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/legendre_a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mtx_spherical_harmonics/legendre_a.c') diff --git a/src/mtx_spherical_harmonics/legendre_a.c b/src/mtx_spherical_harmonics/legendre_a.c index a0762b1..a6c2aa5 100644 --- a/src/mtx_spherical_harmonics/legendre_a.c +++ b/src/mtx_spherical_harmonics/legendre_a.c @@ -34,7 +34,7 @@ static void legendre_first_recurrence (double *sintheta, LegendreWorkSpace *wl) } static void legendre_second_recurrence (double *costheta, LegendreWorkSpace *wl) { - int m,n,l,l0; + unsigned int m,n,l,l0; int nmt0=-1; int nmo0=0; int n0=1; @@ -88,7 +88,7 @@ void legendre_a_free(LegendreWorkSpace *wl) { } void legendre_a(double *theta, LegendreWorkSpace *wl) { - int l,l0; + unsigned int l,l0; const int incr=(wl->nmax+1)*(wl->nmax+2)/2; double *costheta; double *sintheta; -- cgit v1.2.1