Commit a0f31cb0 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Changed type of i,j to size_t.

parent dabada86
...@@ -633,8 +633,8 @@ void rot_uv_north(int gridID, double *us, double *vs) ...@@ -633,8 +633,8 @@ void rot_uv_north(int gridID, double *us, double *vs)
double xnormSph, ynormSph, znormSph; double xnormSph, ynormSph, znormSph;
double xncross, yncross, zncross; double xncross, yncross, zncross;
double vecAngle; double vecAngle;
long idx, idx4; size_t idx, idx4;
int i,j; size_t i,j;
double VJaa,VJab,VJba,VJbb; double VJaa,VJab,VJba,VJbb;
double u,v; double u,v;
double magnitude, newMagnitude; double magnitude, newMagnitude;
...@@ -971,8 +971,8 @@ void project_uv_latlon(int gridID, double *us, double *vs) ...@@ -971,8 +971,8 @@ void project_uv_latlon(int gridID, double *us, double *vs)
double xpnt0,ypnt0; double xpnt0,ypnt0;
double xpntEast,ypntEast; double xpntEast,ypntEast;
double xpntNorth, ypntNorth; double xpntNorth, ypntNorth;
long idx; size_t idx;
int i, j; size_t i, j;
double distLon; double distLon;
double distLat; double distLat;
double VJaa,VJab,VJba,VJbb; double VJaa,VJab,VJba,VJbb;
...@@ -1358,7 +1358,7 @@ void *TransformUV(int operatorID) ...@@ -1358,7 +1358,7 @@ void *TransformUV(int operatorID)
if ( CdoDebug::cdoDebugExt>=20 ) if ( CdoDebug::cdoDebugExt>=20 )
{ {
printf("Xvals (size=%zu):\n",gridInqSize(gridIDcurvl)); printf("Xvals (size=%zu):\n",gridInqSize(gridIDcurvl));
int ii; size_t ii;
for (ii=0; ii< 10; ii++) for (ii=0; ii< 10; ii++)
printf("%4.3f ", gridInqXval(gridIDcurvl,ii)); printf("%4.3f ", gridInqXval(gridIDcurvl,ii));
printf("\n...\n"); printf("\n...\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment