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/sharmonics.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mtx_spherical_harmonics/sharmonics.c') diff --git a/src/mtx_spherical_harmonics/sharmonics.c b/src/mtx_spherical_harmonics/sharmonics.c index dbfcb18..e3416e5 100644 --- a/src/mtx_spherical_harmonics/sharmonics.c +++ b/src/mtx_spherical_harmonics/sharmonics.c @@ -22,8 +22,8 @@ // ly0 and lp0 denote the starting position for one vertex in the arrays // see below to find out how the data is arranged static void sharmonics_initlegendrenormlzd(SHWorkSpace *ws) { - int n,m,ny0,np0; - int l,ly0,lp0; + unsigned int n,m,ny0,np0; + unsigned int l,ly0,lp0; const int pincr=(ws->nmax+1)*(ws->nmax+2)/2; const int yincr=(ws->nmax+1)*(ws->nmax+1); @@ -49,9 +49,9 @@ static void sharmonics_initlegendrenormlzd(SHWorkSpace *ws) { // ly0 and lt0 denote the starting position for one vertex in the arrays // see below to find out how the data is arranged static void sharmonics_multcheby12(SHWorkSpace *ws) { - int n,m,ny0; + unsigned int n,m,ny0; const int nt0=ws->nmax; - int l,ly0,lt0; + unsigned int l,ly0,lt0; const int tincr=2*ws->nmax+1; const int yincr=(ws->nmax+1)*(ws->nmax+1); -- cgit v1.2.1