aboutsummaryrefslogtreecommitdiff
path: root/src/mtx_spherical_harmonics/sharmonics.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2012-02-22 11:26:39 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2012-02-22 11:26:39 +0000
commit04f532cbafb61361711acb8d3f327eabf2068c44 (patch)
tree9b9e725115bd948d508fb8d04547e0bb1e762d5b /src/mtx_spherical_harmonics/sharmonics.c
parent745d3854c794984825a4bfe7645f52e901b56c1c (diff)
fixes to make it compile on MSVC
svn path=/trunk/externals/iem/iemmatrix/; revision=16023
Diffstat (limited to 'src/mtx_spherical_harmonics/sharmonics.c')
-rw-r--r--src/mtx_spherical_harmonics/sharmonics.c8
1 files changed, 4 insertions, 4 deletions
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);