diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2012-02-22 11:26:39 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2012-02-22 11:26:39 +0000 |
commit | 04f532cbafb61361711acb8d3f327eabf2068c44 (patch) | |
tree | 9b9e725115bd948d508fb8d04547e0bb1e762d5b /src/mtx_spherical_harmonics/legendre_a.c | |
parent | 745d3854c794984825a4bfe7645f52e901b56c1c (diff) |
fixes to make it compile on MSVC
svn path=/trunk/externals/iem/iemmatrix/; revision=16023
Diffstat (limited to 'src/mtx_spherical_harmonics/legendre_a.c')
-rw-r--r-- | src/mtx_spherical_harmonics/legendre_a.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |